Re: wsdl2java and faults

2007-08-31 Thread Daniel Kulp
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

RE: wsdl2java and faults

2007-08-31 Thread Benson Margulies
cranky at 11pm. -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 12:13 PM To: cxf-user@incubator.apache.org Cc: Benson Margulies Subject: Re: wsdl2java and faults Benson, The message parameter is used to set the faultString element

wsdl2java and faults

2007-08-30 Thread Benson Margulies
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

Re: wsdl2java and faults

2007-08-30 Thread James Mao
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

Re: wsdl2java and faults

2007-08-30 Thread Jim Ma
: throw new XFault(XFault raised by server when , X); We also can add a constructor (X x , Throwable cause) for your case . Can you log an enhancement in CXF jira? Regards Jim Benson Margulies wrote: The objects generated by wsdl2java for faults seem unnecessarily clumsy. I get a POJO