Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: how to format GET for a SOAP request

From: Martin Honnen <mahotrash@-----.-->
To: 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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent