Displaying 1 result from an estimated 1 matches for "makewscall".
Did you mean:
makecall
2007 Jun 07
0
Prototype 1.5.1 Content-Type Header
...trying to call a SOAP service using prototype.
The service throws a error when the request header ''Content-
Type = application/x-www-form-urlencoded''
Hence i want to overide that functionality.
I used the following code for that.
function makeWSCall(){
var opt = {
method: ''post'',
requestHeaders: [''Content-Type'',''text/
xml;charset=UTF-8'',''SOAPAction'',''""''],
postBody: xmlDocument,
// Handle successful response
onSuccess: funct...