My Requirement is to read the
soap request in SOAPHandler, look out for some particular elements in the request and take some action based on element value.
I can get any type of request, but I will lookout for “userid” element in the request
like
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.net.test/">
<soapenv:Header/>
<soapenv:Body>
<ws:getAccountList>
<!--Optional:-->
<userid>9999999999999</userid>
</ws:getAccountList>
</soapenv:Body>
</soapenv:Envelope>
I tried many option but no success, can anyone suggest the better approach