axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pathuru, Kiran" <Kiran.Path...@ect-telecoms.de>
Subject Security Handler, returning error message instead of throwing axi s fault
Date Fri, 06 Feb 2004 18:13:03 GMT
hello everybody,

I have a Login handler which will check from which IP address the request is
coming and then return an error message if the IP address is not the
intended one. Instead of throwing axis fault, I want to send a SOAP response
like the following which is how the customer receives.


 <soapenv:Body>
  <ns1:method
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn">
   <returnCode xsi:type="xsd:string">1000</returnCode>
   <returnMessage xsi:type="xsd:string">Authentication
failed</returnMessage>
  </ns1:method>
 </soapenv:Body>

Thanks & regards,
kiran pathuru

Mime
View raw message