Hello!
I have a web service deployed on Axis2.1.1, Tomcat 5.5.20 and Java 1.5.
When the service gets an inparameter that is invalid the service throws a specific exception, MyErrorException, to return error messages to the client.
When I use Axis1.2.1 MyErrorException appears inside the AxisFault exception in the detail field.
When I use Axis2.1.1 I get the following response:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Header />
<soapenv:Body>
<soapenv:Fault>
<soapenv:Code>
<soapenv:Value>soapenv:Sender</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text xml:lang="en-US">Exception occurred while trying to invoke service method myMethod</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail>
</soapenv:Detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
The detail field is empty and MyErrorException is not there.
So, is this just a question of deploying my service the right way or is this a bug in Axis2.1.1?
What do you think?
/Pär
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
