I got the pasted code form a vendor to make a call to their webservice. http://pastie.org/462963
I'm trying to do the same thing with proto but can't seem to get it to work. document.observe('dom:loaded', function() { new Ajax.Request(url, { method: 'post', postBody: XMLRequest, requestHeaders: new Array('Content-Type', 'text/xml; charset=UTF-8'), onSuccess: function(transport) { $('notice').update("Success:: "+transport.responseText) }, onFailure: function(transport) { $('notice').update ("Failure:: "+transport.responseText) } }); }); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---