Web Service returning XML

The example I have found of using web services, establishes a SOAP connection and calls a function which returns a value.
Some Web services don’t expose themselves this way, but have a URL with parameters at the end, and return an XML ‘document’.

Are there any examples of this available?

Hi Jeff,

I’m not sure about examples, but I do deal with these services. I use a HTTPSocket (or HTTPSecureSocket) to query the server and in the pagereceived event check the httpStatus is 200 (OK) then pass the content of an httpsocket into a XML Document using the loadxml method.

HTH

Wayne

If it is just a “REST” API with a URL then you will want to use an HTTPSocket. One of example of this is here:

Examples/Communication/Internet/YahooWeather

SOAP uses POST. What you describe would use GET.