- This topic has 7 replies, 5 voices, and was last updated 17 years, 10 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?
May 25, 2007 at 10:41 am #270670
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.
May 29, 2007 at 8:42 am #270761
Riyad KallaMemberErnst-Jan,
Thank you for the email, we are looking into your example project.September 16, 2007 at 5:16 am #275651
matraMemberThis message has not been recovered.
September 16, 2007 at 6:17 pm #275656
rshendershotMemberThis message has not been recovered.
September 17, 2007 at 9:50 am #275690
Riyad KallaMemberThis message has not been recovered.
September 19, 2007 at 1:41 pm #275926
steppollMemberThis message has not been recovered.
September 19, 2007 at 2:27 pm #275932
Riyad KallaMemberThis message has not been recovered.
-
AuthorPosts