Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem consuming a webservice from BPEL  RSS feed

 
Guillermo Diaz Solis
Greenhorn
Posts: 11
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys, I Have a little problem consuming a webservice. When I consume the service using JDeveloper 11g, a new New Web Service Proxy Project the wizzard launch this:

oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/consumirContrato/ConsumirContrato/src/com/oracle/sca/soapservice/descuentofacturasservices/bpel_def_cantones/bpel_def_cantones/BPEL_DEF_Cantones_pttDirectBinding1.2QSService.wsdl": 'Canton' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIA' is already defined'CantonesTableSelectInputParameters' is already defined(related to above error) the first definition appears here'CantonCollection' is already defined'CantonesTableSelect' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIAInputParameters' is already defined'CantonPrimaryKey' is already defined
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createProxy(WsaAdaptor.java:295)
at oracle.jdeveloper.webservices.tools.WebServiceTools.createProxy(WebServiceTools.java:293)
at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.createJaxWsProxy(CreateProxy.java:1093)
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:/C:/JDeveloper/mywork/consumirContrato/ConsumirContrato/src/com/oracle/sca/soapservice/descuentofacturasservices/bpel_def_cantones/bpel_def_cantones/BPEL_DEF_Cantones_pttDirectBinding1.2QSService.wsdl": 'Canton' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIA' is already defined'CantonesTableSelectInputParameters' is already defined(related to above error) the first definition appears here'CantonCollection' is already defined'CantonesTableSelect' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIAInputParameters' is already defined'CantonPrimaryKey' 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.WsdlToJavaTool.createProxy(WsdlToJavaTool.java:465)
at oracle.j2ee.ws.tools.wsa.Util.createProxy(Util.java:516)
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 $Proxy133.createProxy(Unknown Source)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createProxy(WsaAdaptor.java:291)
... 6 more
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: 'Canton' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIA' is already defined'CantonesTableSelectInputParameters' is already defined(related to above error) the first definition appears here'CantonCollection' is already defined'CantonesTableSelect' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIAInputParameters' is already defined'CantonPrimaryKey' 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)
... 16 more
Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: 'Canton' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIA' is already defined'CantonesTableSelectInputParameters' is already defined(related to above error) the first definition appears here'CantonCollection' is already defined'CantonesTableSelect' is already defined'CantonesTable_ByProvinciaSelect_ID_PROVINCIAInputParameters' is already defined'CantonPrimaryKey' 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)
... 17 more


So, I need consume the service in a ADF project.

Thanks for the help



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!