If I build my own XMLHttpRequest, I can do the following:
this.xmlHttp.setRequestHeader("SOAPAction", 'updateClient');
How can I do the same with AjaxRequest()?
var myAjax = new Ajax.Request(
this.service,
{
method:'post',
postBody:soapXML,
contentType:'text/xml',
encoding:'UTF-8',
SOAPAction:'updateClient',
onComplete:setResult
}
);
--Mimi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---