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

Reply via email to