[GLLUG] consuming .net web services with javascript without using SOAP

David Smith smithd98 at gmail.com
Sun Jun 25 14:35:38 EDT 2006


 Thanks for the info Nihal.

I got it.  I wasn't setting the url properly.

 var url = "./tSaleReportingService.asmx/getActiveBonds";
 xmlHttp.open("POST", url, true);
 xmlHttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
 xmlHttp.onreadystatechange = updatePage;
 toSend = "dateStart=2006-06-01&dateEnd=2006-06-01";
 xmlHttp.send(toSend);

Thanks!

--dave

-- 
_________________
David Smith

(517) 944-1872
smithd98 at msu.edu
614 Theo
Lansing MI 48917
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20060625/215e7887/attachment.html


More information about the linux-user mailing list