To ask a more general question...
 
Why are custom exceptions included as a complex type in POJO services?
 
Is this to allow for custom error/exception mapping on the client side?
 
Please let me know if I am missing something.
 
Thanks, 
 
Nadeem

________________________________

From: Hoda, Nadeem [USA] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 13, 2008 12:22 PM
To: [email protected]
Subject: SOAP Faults


 
All, 
 
In the call:
 

        new AxisFault(new QName(errorNamespaceUri, errorCode,
errorNamespace), errorMessage, new Exception(errorDetail));

 
what exactly does adding the Exception (the third parameter) to the
AxisFault call do? I do not see any difference in the SOAP Fault at the
client side with or without the exception/exception message.
 
Also, what is the value of extending Exceptions using Axis2 if
everything becomes a SOAP Fault eventually? Do clients key off of SOAP
Fault entries for SOAP Fault to client exception mapping?
 
Thanks, 
 
Nadeem
  • SOAP Faults Hoda, Nadeem [USA]
    • RE: SOAP Faults Hoda, Nadeem [USA]

Reply via email to