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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---