Calling Web Services
In general when connecting to web services, you use the HTTP API to pull or push data. The XML or JSON API can be very useful to parse or generate data.
Let’s start with a simple example, getting the weather in London from the OpenWeatherMap web service
For more advanced strategies for calling web services, see Building HTTP Requests and Handling HTTP Responses.