Forum Stats

  • 3,840,303 Users
  • 2,262,583 Discussions
  • 7,901,206 Comments

Discussions

Need help generating proxy for Oracle Cloud Order Management in JDeveloper

Please let me know if I should post this somewhere else. I tried the customizations forum under Oracle Cloud Applications, but got 0 responses.

Any help to figure this out would be appreciated.

Using a fresh install of JDeveloper 11.1.1.9, I am trying to Generate a Web Service proxy using the wizard against the OrderImportService on an R12 Order Management Cloud instance. I just left the defaults on all of the steps. After I click the finish button, I get proxy generation failed for the following reasons:

oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/OrderImportService.wsdl": Unable to resolve relative URI sdoModel.xsd because base URI is not absolute: /D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/sdoXML.xsd'name' is already defined'dataType' is already defined'aliasName' is already defined'readOnly' is already defined'string' is already defined'XMLInfo' is already defined'propertyType' is already defined'oppositeProperty' is already defined'xmlElement' is already defined(related to above error) the first definition appears here'many' is already defined'sequence' is already defined

at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)

at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createAsyncClientForProcess(WsaAdaptor.java:100)

at oracle.jdeveloper.webservices.tools.WebServiceTools.createAsyncClientForProcess(WebServiceTools.java:77)

at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.createJaxWsProxy(CreateProxy.java:1081)

at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.doGeneration(CreateProxy.java:369)

at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.action(CreateProxy.java:165)

at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)

at java.lang.Thread.run(Thread.java:662)

Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/OrderImportService.wsdl": Unable to resolve relative URI sdoModel.xsd because base URI is not absolute: /D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/sdoXML.xsd'name' is already defined'dataType' is already defined'aliasName' is already defined'readOnly' is already defined'string' is already defined'XMLInfo' is already defined'propertyType' is already defined'oppositeProperty' is already defined'xmlElement' is already defined(related to above error) the first definition appears here'many' is already defined'sequence' is already defined

at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:679)

at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.genProxy(JaxwsWsdlToJavaTool.java:546)

at oracle.j2ee.ws.tools.wsa.Util.genClientForAsyncProcess(Util.java:1545)

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 $Proxy46.genClientForAsyncProcess(Unknown Source)

at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createAsyncClientForProcess(WsaAdaptor.java:94)

... 6 more

Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Unable to resolve relative URI sdoModel.xsd because base URI is not absolute: /D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/sdoXML.xsd'name' is already defined'dataType' is already defined'aliasName' is already defined'readOnly' is already defined'string' is already defined'XMLInfo' is already defined'propertyType' is already defined'oppositeProperty' is already defined'xmlElement' is already defined(related to above error) the first definition appears here'many' is already defined'sequence' is already defined

at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:188)

at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:662)

... 15 more

Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: Unable to resolve relative URI sdoModel.xsd because base URI is not absolute: /D:/myprojects/OracleFusion/orderImportR12/src/com/oracle/xmlns/apps/scm/fom/importorders/orderimportservice/sdoXML.xsd'name' is already defined'dataType' is already defined'aliasName' is already defined'readOnly' is already defined'string' is already defined'XMLInfo' is already defined'propertyType' is already defined'oppositeProperty' is already defined'xmlElement' is already defined(related to above error) the first definition appears here'many' is already defined'sequence' is already defined

at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:124)

at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)

... 16 more