Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

Error creating Web Service proxy

Gerardo Rivera-OracleSep 26 2011 — edited Jan 12 2012
Hello.

I'm using JDeveloper 11.1.1.4.0 on Windows 7 for creating a Web Service Proxy on a service deployed on localhost. In the wizard everything runs fine but once I choose finish I receive the following error:

java.lang.ClassCastException: oracle.jdeveloper.model.JavaSourceNode cannot be cast to oracle.jdeveloper.webservices.model.WebServiceProxyNode
at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.getProxyAlreadyInProject(WebServiceProxy.java:2044)
at oracle.jdeveloper.webservices.model.proxy.ProxyWarningChecker.getWarnings(ProxyWarningChecker.java:111)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.WarningCommitListener.checkCommit(WarningCommitListener.java:105)
at oracle.ide.wizard.FSMWizard.finishImpl(FSMWizard.java:864)
at oracle.ide.wizard.FSMWizard._validateFSMState(FSMWizard.java:621)
at oracle.ide.wizard.FSMWizard.doFinish(FSMWizard.java:333)
at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3940)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at java.awt.Component.show(Component.java:1563)
at java.awt.Component.setVisible(Component.java:1515)
at java.awt.Window.setVisible(Window.java:842)
at java.awt.Dialog.setVisible(Dialog.java:986)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyWizard.runWizard(ProxyWizard.java:502)
at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyGalleryWizard.invoke(ProxyGalleryWizard.java:86)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Any clues about what's going on?

Thanks Gerardo.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2012
Added on Sep 26 2011
2 comments
1,625 views