xml spy
Previous  Top  Next
Create new SOAP request

This command creates a new SOAP request document in XML Spy.

Creating a new SOAP request:
1.Select the menu option Soap | Create new SOAP request.  
This opens a dialog box where you have to enter the local path or URL of a WSDL file describing the web service. In this example the capescience.com AirportWeather websevice. The URL for this web service is:  
http://www.capescience.com/webservices/airportweather/AirportWeather.wsdl  

ref_p243aa  

2.Click OK to confirm the selection and connect to the capescience.com server.  
This opens a dialog box from which you select a specific SOAP operation.  

ref_p243ab  

Please note:  
If the connection fails or the URL is incorrect, an error message will appear at this point.  

3.Click the getSummary (string arg0) entry, and confirm with OK.  
This creates an Untitled.xml document in XML Spy containing the SOAP request data.  

ref_p243ac  

4.Click one of the fields to deselect the table highlighting.  
Before the request can be sent, we have to specify the airfield for which we want the weather summary.  
5.Click the arg0 field, and enter KJFK for the JFK weather report.  

ref_p243ad  

This completes the definition of this SOAP request, all we have to do now is send the request and see if we receive an answer. Please see "Send request to server".

Previous  Top  Next

⌐ 2002 Altova