Skip to content Skip to sidebar Skip to footer

Handling Json Response From The Soap Wsdl In Javascript

how to handle the below json response from soap wsdl.i need particularly PERSON_ID from this to be printed in my HTML FILE.actually i have a javascript code for this and am working

Solution 1:

You can do the following:

var str = //your JSON response... var ID = str.Envelope.Body.processResponse.PERSON_ID;

//if you use jQuery

jQuery("#htmlelementid").html(ID);

//else

document.querySelectorAll("#htmlelementid").innerHTML = ID;

Post a Comment for "Handling Json Response From The Soap Wsdl In Javascript"