I was hoping for one more constructor on the exception object
FaultException(FaultObject, Throwable); If that's not consistent with the standard, then I won't waste everyone's time with a JIRA. It would never be something important. > -----Original Message----- > From: James Mao [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 30, 2007 10:43 PM > To: [email protected] > Subject: Re: wsdl2java and faults > > Hi, > > The artifacts generated by wsdl2java is JAX-WS 2.0 compliant, so > everything generated by the tool is defined in the spec. > Not really know the exact request here. > Do you mind send your sample wsdl, and tell us what kind of artifacts > you're looking for > > If there's bug to fix or improvements we can make, you are welcomed to > file jira on https://issues.apache.org/jira/browse/CXF > > Regards, > James > > > The objects generated by wsdl2java for faults seem unnecessarily clumsy. > > > > > > > > I get a POJO + annotations that corresponds to the fault type. Call it > > 'X'. > > > > > > > > Then I get XFault. > > > > > > > > To construct an XFault over a Throwable, I need to provide a message --- > > > > > > > > (String message, X x, Throwable cause) > > > > > > > > Could there not be no-message constructor? All the information I want to > > transmit is inside the x object. > > > > > > > > > > > > > > > > > > > > > >
