users@jax-ws.java.net

Customization: Separate package for exception / fault classes

From: <breadfan_at_gmx.de>
Date: Mon, 18 Sep 2006 18:34:56 +0200

Hi!

Scenario: wsdl to java

Is there any way to specify a separated package where the exceptions (corresponding to the soap faults in the wsdl) are generated to?

The jws:package customization is unfortunately not allowed in the following context:

<jws:bindings node="wsdl:definitions/wsdl:portType[@name='OperationPortType']/wsdl:operation[@name='opName']/wsdl:fault[@name='InvalidInputDataException']">
<jws:package name="somepackage.exception">
</jws:package>
</jws:bindings>

Thanks,
Chris
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail