Forum Stats

  • 3,874,342 Users
  • 2,266,727 Discussions
  • 7,911,827 Comments

Discussions

Error while creating webservice proxy from jdeveloper

oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl org.apache.xerces.util.DOMEntityResolverWrapper.setEntityResolver(Lorg/w3c/dom/ls/LSResourceResolver;)V

at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)

at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2853)

at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2618)

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:2278)

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:745)

Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl org.apache.xerces.util.DOMEntityResolverWrapper.setEntityResolver(Lorg/w3c/dom/ls/LSResourceResolver;)V

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 org.apache.xerces.util.DOMEntityResolverWrapper.setEntityResolver(Lorg/w3c/dom/ls/LSResourceResolver;)V

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

at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:478)

at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1360)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)

at com.sun.proxy.$Proxy60.getJaxWsSeiInfo(Unknown Source)

at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)

... 15 more

Caused by: java.lang.NoSuchMethodError: org.apache.xerces.util.DOMEntityResolverWrapper.setEntityResolver(Lorg/w3c/dom/ls/LSResourceResolver;)V

at org.apache.xerces.jaxp.validation.XMLSchemaFactory.setResourceResolver(Unknown Source)

at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:240)

at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:94)

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

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

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

... 24 more