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
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
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
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
:
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