Error creating web service proxy for bpel process in jdev 10.1.3

Hi,
I am trying to create a web service proxy in Jdeveloper 10.1.3, and get the following error:
Element type "fault" is missing required attribute "name"
I have created a fault on one of the operations, and in the .wsdl file there is a name attribute:
<operation name="process">
<fault name="TestError" message="client:TestErrorMessage"/>
</operation>
The fault definition in the .wsdl obtained from the process when you access it over http is somewhat different:
<fault>
<soap:fault name="TestError" use="literal" encodingStyle="" />
</fault>
Any ideas how to workaround this problem?
Toby

Hi Susan,
The WSDL generated by BPEL designer is :
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="EncryptedPasswordTest"
targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/EncryptedPasswordTest"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     TYPE DEFINITION - List of services participating in this BPEL process
     The default output of the BPEL designer uses strings as input and
     output to the BPEL Process. But you can define or import any XML
     Schema type and us them as part of the message types.
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
     <types>
          <schema attributeFormDefault="qualified"
               elementFormDefault="qualified"
               targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
               xmlns="http://www.w3.org/2001/XMLSchema">
               <element name="EncryptedPasswordTestProcessRequest">
                    <complexType>
                         <sequence>
                              <element name="username" type="string"/>
                         </sequence>
                    </complexType>
               </element>
               <element name="EncryptedPasswordTestProcessResponse">
                    <complexType>
                         <sequence>
                              <element name="password" type="string"/>
                         </sequence>
                    </complexType>
               </element>
               <element name="EncryptedPasswordTestProcessError">
                    <complexType>
                         <sequence>
                              <element name="code" type="string"/>
                              <element name="description" type="string"/>
                         </sequence>
                    </complexType>
               </element>
          </schema>
     </types>
     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     MESSAGE TYPE DEFINITION - Definition of the message types used as
     part of the port type defintions
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
     <message name="EncryptedPasswordTestRequestMessage">
          <part name="payload" element="client:EncryptedPasswordTestProcessRequest"/>
     </message>
     <message name="EncryptedPasswordTestResponseMessage">
          <part name="payload" element="client:EncryptedPasswordTestProcessResponse"/>
     </message>
     <message name="EncryptedPasswordTestErrorMessage">
          <part name="payload" element="client:EncryptedPasswordTestProcessError"/>
     </message>
     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     PORT TYPE DEFINITION - A port type groups a set of operations into
     a logical service unit.
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
     <!-- portType implemented by the EncryptedPasswordTest BPEL process -->
     <portType name="EncryptedPasswordTest">
          <operation name="process">
               <input message="client:EncryptedPasswordTestRequestMessage" />
               <output message="client:EncryptedPasswordTestResponseMessage"/>
<fault name="EncryptedPasswordTestError" message="client:EncryptedPasswordTestErrorMessage"/>
          </operation>
     </portType>
     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     PARTNER LINK TYPE DEFINITION
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
     <plnk:partnerLinkType name="EncryptedPasswordTest">
          <plnk:role name="EncryptedPasswordTestProvider">
               <plnk:portType name="client:EncryptedPasswordTest"/>
          </plnk:role>
     </plnk:partnerLinkType>
</definitions>
And the WSDL produced when you access the ws endpoint is:
<?xml version="1.0" encoding="UTF-8"?>
<definitions
name="EncryptedPasswordTest"
targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://xmlns.oracle.com/EncryptedPasswordTest"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:client="http://xmlns.oracle.com/EncryptedPasswordTest"
>
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/EncryptedPasswordTest"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="EncryptedPasswordTestProcessRequest">
<complexType>
<sequence>
<element name="username" type="string"/>
</sequence>
</complexType>
</element>
<element name="EncryptedPasswordTestProcessResponse">
<complexType>
<sequence>
<element name="password" type="string"/>
</sequence>
</complexType>
</element>
<element name="EncryptedPasswordTestProcessError">
<complexType>
<sequence>
<element name="code" type="string"/>
<element name="description" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="EncryptedPasswordTestErrorMessage">
<part name="payload" element="tns:EncryptedPasswordTestProcessError"/>
</message>
<message name="EncryptedPasswordTestResponseMessage">
<part name="payload" element="tns:EncryptedPasswordTestProcessResponse"/>
</message>
<message name="EncryptedPasswordTestRequestMessage">
<part name="payload" element="tns:EncryptedPasswordTestProcessRequest"/>
</message>
<portType name="EncryptedPasswordTest">
<operation name="process">
<input message="tns:EncryptedPasswordTestRequestMessage"/>
<output message="tns:EncryptedPasswordTestResponseMessage"/>
<fault name="EncryptedPasswordTestError" message="tns:EncryptedPasswordTestErrorMessage"/>
</operation>
</portType>
<binding name="EncryptedPasswordTestBinding" type="tns:EncryptedPasswordTest">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="process">
<soap:operation style="document" soapAction="process"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault>
<soap:fault name="EncryptedPasswordTestError" use="literal" encodingStyle=""/>
</fault>
</operation>
</binding>
<service name="EncryptedPasswordTest">
<port name="EncryptedPasswordTestPort" binding="tns:EncryptedPasswordTestBinding">
<soap:address location="http://bpel5.lon.domroot.com:7779/orabpel/default/EncryptedPasswordTest/1.0"/>
</port>
</service>
<plnk:partnerLinkType name="EncryptedPasswordTest">
<plnk:role name="EncryptedPasswordTestProvider">
<plnk:portType name="tns:EncryptedPasswordTest"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>

Similar Messages

  • Error creating Web Service proxy

    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.

    I am also having this issue on Windows 7 using Oracle Fusion Middleware 11.1.1.4, and am prevented from moving forward. Please help.
    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 oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:509)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1102)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:428)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:509)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1102)
         at oracle.ide.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:424)
         at oracle.ide.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:383)
         at oracle.ide.gallery.ObjectGallery.runDialog(ObjectGallery.java:204)
         at oracle.ide.gallery.ObjectGallery.runDialog(ObjectGallery.java:124)
         at oracle.ide.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:405)
         at oracle.ide.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:208)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at oracle.ide.ceditor.keymap.IdeKeymapHelper.invokeAction(IdeKeymapHelper.java:180)
         at oracle.javatools.editor.keys.MultiKeyHandler.keyPressed(MultiKeyHandler.java:334)
         at java.awt.Component.processKeyEvent(Component.java:6225)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
         at java.awt.Component.processEvent(Component.java:6044)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
         at java.awt.Component.dispatchEventImpl(Component.java:4502)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         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)
    And this was the final error message:
    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.generator.ConfigureProxyGenerator.action(ConfigureProxyGenerator.java:57)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    Edited by: user2407056 on Jan 12, 2012 11:37 AM

  • Error Creating Web Service Proxy in JDeveloper wizard

    Hi,
    I'm trying to create a Web Service Proxy from a WDSL file with JDeveloper wizards, the problem is when i click Finish in the last step an exception occurs.
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.getProxyAlreadyInProject(WebServiceProxy.java:1593)
         at oracle.jdeveloper.webservices.model.proxy.ProxyWarningChecker.getWarnings(ProxyWarningChecker.java:101)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.WarningCommitListener.checkCommit(WarningCommitListener.java:102)
         at oracle.ide.wizard.FSMWizard.finishImpl(FSMWizard.java:295)
         at oracle.ide.wizard.FSMWizard.mav$finishImpl(FSMWizard.java:54)
         at oracle.ide.wizard.FSMWizard$1.run(FSMWizard.java:271)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1093)
         at oracle.ide.wizard.FSMWizard.doFinish(FSMWizard.java:269)
         at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.Dialog.show(Dialog.java:536)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyWizard.runWizard(ProxyWizard.java:321)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyGalleryWizard.invoke(ProxyGalleryWizard.java:82)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1093)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1073)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    The JDeveloper version i'm using is 10.1.3.0.4.
    Does anybody knows how to fix this problem?
    Thanks,
    Nuno

    Yes, i have created a fault on one of the operations, however in the .wsdl file it does have a name attribute.
    <operation name="process">
    <fault name="TestError" message="client:TestErrorMessage"/>
    </operation>
    The fault definition in the .wsdl obtained from the process when you access it over http is somewhat different:
    <fault>
    <soap:fault name="TestError" use="literal" encodingStyle="" />
    </fault>
    Toby

  • While creating web service proxy for a basic authentication WSDL getting  WsCompile.AbortException

    Hi,
    I am usingJdeveloper 11.1.2.4
    I have to use a basic authetication WSDL in my appllication to call a web service, when I create a webservice cleint and proxy and follwed the wizard after clking finish it throws following error.
    The WSDL is created by an exteanl SAP application
    com.sun.tools.ws.wscompile.AbortException
    at com.sun.tools.ws.wscompile.WsimportTool.generateCode(WsimportTool.java:280)
    at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.generateCode(JDevWsimportTool.java:602)
    at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.generateCode(JDevWsimportTool.java:443)
    at oracle.jdevimpl.webservices.tools.weblogic.WebLogicAdaptor.wsimportGenerateCode(WebLogicAdaptor.java:1020)
    at oracle.jdevimpl.webservices.tools.weblogic.WebLogicAdaptor.createProxy(WebLogicAdaptor.java:284)
    at oracle.jdeveloper.webservices.tools.WebServiceTools.createProxy(WebServiceTools.java:271)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.jdeveloper.webservices.tools.WebServiceTools$1.invoke(WebServiceTools.java:132)
    at $Proxy38.createProxy(Unknown Source)
    at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.createJaxWsProxy(CreateProxy.java:1194)
    at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.doGeneration(CreateProxy.java:382)
    at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.action(CreateProxy.java:174)
    at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Any thing I missed?
    Thanks
    R. Ramesh

    Two comments:
    1) The generated proxy looks correct.  If you explore the generated code for the InputParams object and the Rowset object, they should represent the incoming and outgoing data structures for your transaction.  If not, and if you are returning an XML property type from the transaction, be sure that you have used the "Assign Reference Document" technique to tell MII what the structure of your outgoing document is (there are a few other discussion threads on that topic).
    2) Personally, I find it much easier to consume MII services from .NET code using a URL-based technique instead of a SOAP based technique.  Invoke the "Runner" servlet (see the documentation) and you'll get an XML document back, that will always be in the MII Rowsets/Rowset/Row format.  Also, it is "self describing" because it includes Column metadata information.  It is very trivial to load this into a .NET XmlDocument object and parse/process it.  In fact, doing a similar approach, I've been able to make MII services appear as ADO.NET tables/stored procedures to .NET code.
    Rick

  • Validation error while creating Web Service Proxy.

    Hi,
    I'm trying to create Web Service Proxy. But I'm stuck with a Validation error
    model error: type
    +"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+
    +org.w3c.dom.Document" not found.+
    I'm using "Create Web Service Proxy" wizard. There are 6 steps in creating proxy through JDev. wizard.
    First step itself displaying the above validation error when I click on "Next" button.
    Few points
    We have created web service using "oracle.j2ee.ws.StatelessJavaRpcWebService" servlet
    Thanks in advance.
    -Sukumar

    Hi,
    It might be that the .net service which you have is not WS-I compliant. Can you first run WS-I Analyzer on the wsdl to see it the test passes.
    Thanks,
    Vishal

  • Creating web service system for Visual Composer

    Hello,
    I seem to have made some changes that made my unable to create web service systems for Visual Composer. 
    The change I made is in NetWeaver Administration > Configuration > Application Resources > WebServicesFactory, I added the Configuration Property "UseCacheByDefault" with Boolean value = true. 
    After this, if I create a web service system in Enterprise Portal, the Connection Tests fail.  In Visual Composer when I define a web service system, the error I am getting is: "Connector Factory not found for value WebServicesFactory".
    I have tried to delete the UseCacheByDefault property I added as well as restart the server but I am still getting the error.
    However when I test my web service using the Web Services Navigator, I am not getting any problems.  So my guess is the problem lies with the connection factory.
    Can anyone help me with this issue?
    Thanks.

    Hello,
    Since creating WS system in the portal resulted with failed connection test, the issue has nothing to do with VC.
    I'm just guessing, but try to configure proxy in the J2EE engine.
    If that doesn't help I suggest you raise this question in the portal forum.
    Best regards,
    Shay

  • Help needed creating Web Service Proxy with SSL

    Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
    Thanks in advance.
    John

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • Create web service client for javafx project in netbeans 6.8

    I here have a javafx project and need to create a web service client for it (in netbeans 6.8).
    However when I right click this project -> new -> web service client -> input wsdl location\package -> finish, it seems that the client code is never generated. This is quite different from what happens when creating web service client for a java project.
    Anyone knows how is this happening?

    Thanks for your reply.
    I did write my own ws client code but I need to create a web proxy based on an appointed wsdl path. That requires me to create a web service client from netbeans 6.8, like what I described in my first post. Unfortunately, it's not behaving like what I imagined it should do for a java project, even the javafx file itself doesn't have any error. The error occurs in package definition line.
    package fx;For the definition above, it cannot access java.lang.builtins.
    The question now is about the possibility to include javafx file in an non-javafx, say, java project. Any comments?
    ---Regards.

  • How to create Web service proxy in Eclipse?

    Hi,
    I want to create web service proxy in Eclipse. Can someone tell me what all plug ins are needed for it and what is the detail procedure for the same?
    Thanks in advance.

    Proxy class is out of date now... proxy class only support stateful web service call... and stateful web service may became a big limitation in development.
    Try to thinking about how to use stateless web service call, you may get an alternative solution.
    Edited by: user13036981 on 2011-10-7 上午9:20

  • How to create Web Service Proxy with help of WSDL.

    Hi ,
    How to create Web Service Proxy with help of WSDL .
    Please help me .
    Thanks in advacne for reply .

    check out this article. It has all the details
    http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html

  • Create Web Service Proxy -  Union Schema Element has not been implemented

    Create Web Service Proxy
    Validation Failed:
    WSDLException: faultCode=INVALID_WSDL: unsupported XML Schema feature(Union Schema Element has not been implemented)
    WSDL source: http://personal.inet.fi/cool/sports/misc/FlatWSDL/SOAPFrontGetShowBalanceJMS.wsdl

    Looks like this was a false alarm. There were some issues with the message schema.
    Sorry for the confusion.

  • Error when generating Web Services Proxy for SCA Application Module

    Hello,
    I'm trying to create Web Services for a simple Application Module with JDeveloper 11g (11.1.1.3.0).
    I start a new ADF Project, I create an Application Module as simple as possible : it contains only a simple View Object on the DEPT Entity.
    On my Application Module, I choose "Service Interface" and I add my View Object in the service interface.
    I test my Web Service in the Embedded Weblogic Server, it works well. (I succeed in using the Get operation, for example).
    But when I try to generate a Web Service proxy (right-click on the WSDL File -> Generate Web Service Proxy), It always fail with such errors :
    oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/ApplicationAppelServiceSCA/Model/src/model/common/AppModuleService.wsdl": 'unset' is already defined'Bytes' is already defined'ref' is already defined'Duration' is already defined'Types' is already defined'Character' is already defined'type' is already defined'Day' is already defined'nestedInterfaces' is already defined'Date' is already defined'datagraph' is already defined'Type' is already defined'Integer' is already defined'ModelsType' is already defined'ChangeSummaryType' is already defined'instanceClass' is already defined'Month' is already defined'DataObject' is already defined'javaClass' is already defined'LongObject' is already defined'DateTime' is already defined'dataObject' is already defined'YearMonth' is already defined'ShortObject' is already defined'Long' is already defined'types' is already defined'JavaInfo' is already defined'IntObject' is already defined'Boolean' is already defined'DoubleObject' is already defi...
    Can someone help me to understand this error ?
    i never manually edited the WSDL File, so I don't understand why the generated WSDL or XSD files might contain errors.
    Thanks for your Help,
    Laurent

    We have the same problem, and the problem was in the xsd import:
    The wdsl import a schema that import other schema, the second import use a relative path, that was wrong.
    So check the xsd import sequence....

  • Error when creating Web Service Proxy

    Hi',
    I am creating a web service proxy to call a web service (OSB) "http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html#t5", I am making a client to call a OSB proxy and I am able to see the WSDL in the IE, however when I try to create a client using Jdev I get below error.
    Please advice me.
    Thanks
    Yatan
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:509)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:461)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy$ProxyJavaWebService.<init>(WebServiceProxy.java:2268)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1701)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.setDescription(WebServiceProxy.java:525)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.proxy.ProxyJaxWsSpecifyWSDLPanel.setDescription(ProxyJaxWsSpecifyWSDLPanel.java:238)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)
         at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
         ... 12 more
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
         at $Proxy50.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)
         ... 15 more
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:188)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:647)
         ... 24 more
    Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:120)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         ... 25 more

    Hi Yatan
    The error is mostly there may be some Duplicate variable/schema element decalared in the wsdl or the xsd referred in the wsdl. Like in WSDL for any Operations, most of the times, we use input and outputs as complex xsd element. We declare these xsd in the same file or in another file and import that in the .wsdl file. So check or validate your XSD file for any Duplicates.
    In JDeveloper itself, I think, you can open XSD or WSDL and validate it from right click menu options like that.
    Thanks
    Ravi Jegga

  • Creating Web Service Proxy From WSDL - Error SPRX046

    We are attempting to create some Web Service proxy objects from some WSDL files. Some of the WSDL files contain message definitions with multiple parts such as
    <i><wsdl:message name="GetNewSubmissionsResponse">
          <wsdl:part element="impl:Count" name="Count"/>
          <wsdl:part element="impl:MoreAvailable"       name="MoreAvailable"/>
          <wsdl:part element="impl:IRSData" name="IRSData"/>
          <wsdl:part element="impl:StateSubmissions" name="StateSubmissions"/>
       </wsdl:message></i>
    This always generates the error message <b>SPRX046 - "
    Msg Proxy generation terminated: Message must have exactly one part".</b>
    Is this just a limitation with SAP Web AS? Has anyone dealt with this before? These WSDLs work in other environments (AXIS Java, XML Spy etc).
    Thanks

    It seems ABAP proxy only supports Document-Literal style WSDL. Document-literal style is supported by most Web services platforms, and is supposed to be most interoperable.
    Per WS-I Basic Profile 1.0 (see [1])which provides interoperability guidance of using WSDL1.1, when the message part is defined using the @element attribute, the message can only be bound to so-called "document-Literal" style which in turn requires that the message contains only one part.The WSDL you provided violated the document-literal rules.
    Have you tried to change the message definition a bit so it's BP conformant? Try defining a complex type for the subelements, then define an wrapper element to use that complex type, and finally let the message part to refer to the wrapper element. Something like,
    <wsdl:message name="GetNewSubmissionsResponse">
    <wsdl:part element="impl:GetNewSubmissionsResponseWrapper" name="myResponse"/>
    </wsdl:message>

  • WARNING while creating Web Service Proxy

    Hi,
    Im getting an warning while creating a Web Service proxy.
    WARNING: value type package prefix is ignored for the types defined in the
    schema that has same target namespace as the target namespace of wsdl:
    Dose anyone knows why this occurs?
    Thanks.
    Nilaksha.

    When I change the schema targetNamespace=java:mypkg.adress/type its gives me errors and could not create the stub
    WARNING: exception occurred while processing type {java:mypkg.adress/type}getAdd, model error: type "{java:mypkg.adress}string6" not found.
    What should I have done?
    This is a part of wsdl file
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <definitions xmlns:tns="java:mypkg.adress" xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="java:mypkg.adress">
    <types>
    <xs:schema xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rva="java:mypkg.adress" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="unqualified" attributeFormDefault="unqualified" targetNamespace="java:mypkg.adress/types">
    <xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/">
    </xs:import>
    <xs:complexType name="SoapFaultDetails">
    <xs:sequence>
    <xs:element type="xs:int" name="code" nillable="false">
    </xs:element>
    <xs:element type="xs:string" name="class" nillable="false">
    </xs:element>
    <xs:element type="xs:string" name="callid" nillable="false">
    </xs:element>
    <xs:element type="xs:dateTime" name="timestamp" nillable="false">
    </xs:element>
    <xs:element type="rva:StringArray" name="params" nillable="false">
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    Thanks
    Nilaksha

Maybe you are looking for

  • Itunes tells me ipod is all ready synced with another library how do I fix this?

    My old computer crashed no way to get files. Got new computer now when I try to sync ipod it tells me my ipod can only be synced with one library. Tried deauthorizing all computers then authorizing new one still says the same thing. what can I do I h

  • DME File generation

    Hi Guru's I am having a small problem in generation of DME file after F110 is done. Once the F110 has been run successfully and the Payment has been carried out, we can generate a DME file  from Environment-->Payment medium--->DME Administration, the

  • Changing A Language In Java

    Hey, I am looking to do a program in netbeans 4.1 and I am looking for advice on how to create a set of methods on changing language to english to french and german. The labels are in english I wanna make this code a bean so I can change the language

  • Rules and functions (PE04)?

    hi while passing the parameters(embedded in the schema) on calling any function..can u see where those parameters are stored at the run time?table or syst variable.. like whenver operations are called in payroll the OP is getting populated ... like t

  • Arabic instant messaging is erronous

    Hello everyone, This is actually a bug that I have wanted to report for a long time, but did not know where to report bugs. Whenever I use arabic language everything goes to the right and left when some english letters are used, for instance: with ex