Nirmal Mukundan wrote:
I am parsing the soap response to get the occurance of a particular node and then get the values of the node.
I thought I need to parse it as XML.
Please advice a better way.
The service engine (or your SOAP client) is already doing that. Simply put, if what you're after is in message body, then the engine (or client) automatically maps inputs and output of service functions to them. If it's in header, engine (or client) can "intercept" the message to read from/write to header.
So unless you are creating something like a SOAP debugging (troubleshooting) tool, parsing messages is unnecessary.