Hi, i want to call a webservice that i have created, using a javascript. i have done but only with output, can sone one help me to change the script to have input?
that's my javascript that return the name in name field after calling webservice called HelloWS and using web method called Information.
function GetInformation()
{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp.open("Post", "localhost/.../Information", false);
xmlHttp.send();
var xmlDoc=xmlHttp.responseXML;
var responseElement=xmlDoc.getElementsByTagName("test_name")[0];
var exch=responseElement.firstChild.nodeValue;
Xrm.Page.getAttribute("test_name").setValue(exch);
return false;
}
*This post is locked for comments