oracle.jdeveloper.webservices.tools.WsdlValidationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem consuming a webservice from BPEL
    via by Guillermo Diaz Solis,
  • java client to call .net web service
    via by sujith delpachithra,
    • 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

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,