JQuery AJAX Consume SOAP Web Service [closed]
Try setting processData: false
flag. This flag is true
by default and I guess jQuery is converting your XML to string.
$.ajax({
url: webServiceURL,
type: "POST",
dataType: "xml",
data: soapMessage,
processData: false,
contentType: "text/xml; charset=\"utf-8\"",
success: OnSuccess,
error: OnError
});