- This topic has 7 replies, 5 voices, and was last updated 17 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
erlaanMemberWhen generating a new web servixce client using a wsdl file containing a SOAP fault the generation fails. With the following stacktrace in the error log:
eclipse.buildId=M20070212-1330 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL Command-line arguments: -os win32 -ws win32 -arch x86 Error Fri May 25 08:46:45 CEST 2007 Error generating services java.lang.NullPointerException at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.getExceptionClass(AbstractServiceGenerator.java:428) at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateFaults(AbstractServiceGenerator.java:407) at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateOperation(AbstractServiceGenerator.java:366) at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:123) at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:67) at org.codehaus.xfire.gen.jsr181.ServiceInterfaceGenerator.generate(ServiceInterfaceGenerator.java:49) at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:54) at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:167) at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:209) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
I first created the web service using JSR181 and deployed it.
Saved the resulting wsdl
Used the wizard to create a new web service client…
No validation errors found -> next
Dialog pops up with Error during Generation 🙁Removing MyException from the throw clause from the orginal webmethod results in the client stubs being generated. Soap fault handling seems to be broken!
I have all the code and logs available in a zip file. How can I submit this information?
Riyad KallaMemberPlease email them to support@genuitec.com ATTN Riyad, with a link to this post for reference. We’ll look at them right away, thank you for the report.
Riyad KallaMemberErnst-Jan,
Thank you for the email, we are looking into your example project.
matraMemberThis message has not been recovered.
rshendershotMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
steppollMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts