Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How To Invoke a Web Services with Complex Interfaces |
Page 1 of 3 |
Many Web services utilize interfaces with flat, simple request formats. The lesson “How to Invoke a Simple External Web Service” describes the manner in which these sorts of services are typically invoked. Services with more complex interfaces often require a different approach (an approach that can be used to invoke any service), which is the focus of this lesson.
To ease the invocation process, you’ll usually want to “import” any Web services you intend to utilize. This is a simple manner of registering their WSDL document with the service environment, and is covered in the user guide entitled “Delve Habitat Tutorial,” part of the Delve SOA Fast-Prototyping Toolkit.
Once the WSDL is imported, you can use the resource notation character “`” to reference this service. This makes it possible to create an instance of the request message for that service like so:

Once this statement executes, the variable “req” contains a SOAP request suitable for use with the “getWeatherConditions” operation.
|