[jboss-user] [JBossWS] - Re: Name of generated exception class

jason.greene@jboss.com do-not-reply at jboss.com
Fri Mar 30 09:24:48 EDT 2007


Yes, the package name passed to wsconsume is an override, and is not really part of the standard. It's just their for ease of use.

You can change the name of the exception class  by using
<jaxws:class name="MyNewException" node="..."/> to point to the wsdl:fault element.

You can also change the name of the fault bean by using a JAXB customization that points to the schema complex type:

<jaxb:class name="AuthorizationFaultBean" node="..."/>

-Jason


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033159#4033159

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033159



More information about the jboss-user mailing list