I don’t have much experience with SOAP but am required to build a validator for my work and using a specific SOAP wsdl.
I’ve set up the connection and call and everything works fine but I receive the response data in what I assume is XML, here is a small portion of the output:
<user id=”54354334543”>
<firstname>My firstname</firstname>
<lastname>My lastname</lastname>
<email>[email protected]</email>
<nickname>My Nickname</nickname>
<source>Update_and_add</source>
</user>
This response is one step in the validation so I’ve to be able to retrieve single items such as and and use them for further look-ups.
So my question is, how do I parse this in order to get the items out? I’ve tried different approaches and convert it into an array but I haven’t had any luck doing so.
Any suggestions or help would be very much appreciated.
Regards,
- Mestika