WSDL Response - how to access the data

mercredi 18 mars 2015

I have the following WSDL response and would like to get the data of EUID and resultCode from the response. How can I do that using E4X.



<S:Envelope xmlns:S="http://ift.tt/z6MlKK; xmlns:SOAP-ENV="http://ift.tt/12PhL6j;

<SOAP-ENV:Header/>

<S:Body>

<ns2:executeMatchUpdateResponse xmlns:ns2="http://ift.tt/1bfccqE;

<matchColResult>

<EUID>0000135305</EUID>

<resultCode>1</resultCode>

</matchColResult>

</ns2:executeMatchUpdateResponse>

</S:Body>

</S:Envelope>



Here is how I am getting the response stored in a responseMessage variable from the destination call "To_Dest"



var responseMessage=new XML(responseMap.get('To_Dest').getMessage());



Thanks in advance......





WSDL Response - how to access the data

0 commentaires:

Enregistrer un commentaire