var request = '<?xml version="1.0" encoding="UTF-8"?>'
+
'<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.w3schools.com/xml/">'
+
'<SOAP-ENV:Body>' +
'<ns1:CelsiusToFahrenheit>' +
'<ns1:Celsius>10</ns1:Celsius>' +
'</ns1:CelsiusToFahrenheit>' +
'</SOAP-ENV:Body>' +
'</SOAP-ENV:Envelope>';
var url = 'proxy/http/www.w3schools.com/xml/tempconvert.asmx?WSDL';
var aData = jQuery.ajax({
url : url,
type : "POST",
dataType : "text",
data : request,
contentType : "text/xml; charset=\"utf-8\"",
success : function(data, textStatus, jqXHR) {
console.log("data" + data);
},
error : function()
{
console.log("ERROR");
}
});
Thanks for sharing great post !!
ReplyDeleteThis information you provided in the blog that is unique.I love it. Keep continue..
SAP online training | Best sap institute in India
sap hana online training
Thanks for sharing informative post.
ReplyDeleteSAP UI5 Online Training in India