This sounds like an old xerces version is being picked up. Possibly check the jre/lib/endorsed dir to see if there is a version there or something. If not, grab a recent version of xerces and put it there.

Dan



On Jul 11, 2008, at 3:29 PM, smodekurti wrote:


We have upgraded our application from CXF2.0.7 to CXF2.1.1 on Websphere 6.1.0.11. The WSDLToJava ant task is failing to generate stubs since then.
The exception is copied below.

The same task works with no issues if I change the JRE to sun jdk but fails on IBM JRE. Would really appreciate a solution as we do not want to stay
with cxf 2.0.7 forever.

      [java] Loading FrontEnd jaxws ...
       [java] Loading DataBinding jaxb ...
       [java] wsdl2java -client -verbose -d .
../WebContent/WEB-INF/WSDL/WeatherServiceDelegate.wsdl
       [java] wsdl2java - Apache CXF 2.1.1
[java] Exception in thread "main" java.lang.AbstractMethodError: org/w3c/dom/Node.setUserData(Ljava/lang/String;Ljava/lang/ Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
       [java]   at
org .apache .cxf.tools.validator.internal.Stax2DOM.startElement(Stax2DOM.java:170)
       [java]   at
org .apache .cxf.tools.validator.internal.Stax2DOM.getDocument(Stax2DOM.java:134)
       [java]   at
org .apache .cxf.tools.validator.internal.Stax2DOM.getDocument(Stax2DOM.java:94)
       [java]   at
org .apache .cxf.tools.validator.internal.Stax2DOM.getDocument(Stax2DOM.java:75)
       [java]   at
org .apache .cxf .tools .validator .internal.WSDLRefValidator.getWSDLDocument(WSDLRefValidator.java:158)
       [java]   at
org .apache .cxf .tools .validator .internal.WSDLRefValidator.getWSDLDocument(WSDLRefValidator.java:162)
       [java]   at
org .apache .cxf .tools .validator .internal.WSDLRefValidator.getWSDLDocuments(WSDLRefValidator.java:168)
       [java]   at
org .apache .cxf .tools .validator.internal.WSDLRefValidator.isValid(WSDLRefValidator.java: 216)
       [java]   at
org .apache .cxf .tools .validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:126)
       [java]   at
org .apache .cxf .tools .wsdlto .frontend .jaxws .wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java: 200)
       [java]   at
org .apache .cxf .tools .wsdlto .frontend .jaxws .wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java: 62)
       [java]   at
org .apache .cxf .tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java: 132)
       [java]   at
org .apache .cxf .tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java: 232)
       [java]   at
org .apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java: 83)
       [java]   at
org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:103)
       [java]   at
org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:173)
--
View this message in context: 
http://www.nabble.com/WSDLToJava-Task-throwing-AbstractMethodError-tp18411004p18411004.html
Sent from the cxf-user mailing list archive at Nabble.com.


---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to