You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Thomas Börkel <tb...@ap-ag.com> on 2002/03/18 16:18:47 UTC

Creating Java exceptions as faults in the WSDL

HI!

If I create WSDL from a Java class and there are methods that declare "throws SomeException" then the Emitter generates <wsdl:fault> tags in the WSDL. And because the Java exceptions are not native SOAP types, it also creates complex type descriptions up to java.lang.Throwable.

Is this really what the client wants? If it's a non-Java client, what should it know about Java exceptions and throwables?

Regards,
Thomas