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.

 

 

 

 

Reply via email to