Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - how to format GET for a SOAP request >Thread Next - Re: how to format GET for a SOAP request Re: how to format GET for a SOAP requestTo: NULL Date: 12/13/2008 1:21:00 PM JRough wrote: > 'm just playing with this bible Web Service to figure out how to make > SOAP requests. I think it should be a simple GET.. but I don't know > how to properly format the GET request. I just want to request the > string "Jesus" and see what comes back from the request. I don't know > if I should type the whole GET... into the browser or what? I typed > this: > GET /BibleWebservice.asmx/GetBibleWordsbyKeyWord?BibleWords=Jesus > HTTP/ > 1.1 and didn't get anything. I get a lengthy XML document for http://www.webservicex.net/BibleWebservice.asmx/GetBibleWordsbyKeyWord?BibleWords=Moses where however the real XML data is escaped. As for a SOAP request, no, SOAP is not possible with a GET request and a query string in the URL, to make a SOAP request you need to make a HTTP POST request with a proper SOAP message in the request body and the request header SOAPAction: "http://www.webserviceX.NET/GetBibleWordsbyKeyWord" All that is documented nicely on http://www.webservicex.net/BibleWebservice.asmx?op=GetBibleWordsbyKeyWord Note that platforms like the .NET framework allow you to generate proxy code for web services so that you don't have to deal with SOAP or HTTP, you simply use classes, instantiate objects and call methods. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
