var contactId = parentCustomer[0].id;
var IsQualifierOwnerId = crmForm.all.ctca_isqualifierownerid.DataValue;
var newIsQualifierOwnerId = IsQualifierOwnerId[0].id;
var authenticationHeader = GenerateAuthenticationHeader();
// Prepare the SOAP message.
var xml = ""+
"
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'>"+
authenticationHeader+
"
"
"
"
"
"
"
"
"";
// Prepare the xmlHttpObject and send the request.
var xHReq = new ActiveXObject("Msxml2.XMLHTTP");
xHReq.Open("POST", "/mscrmservices/2007/CrmService.asmx", false);
xHReq.setRequestHeader("SOAPAction","http://schemas.microsoft.com/crm/2007/WebServices/Update");
xHReq.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
xHReq.setRequestHeader("Content-Length", xml.length);
xHReq.send(xml);