IBM Version 5 Universal Remote User Manual


 
Chapter 9. Developing XML Web services 207
9.2.6 Test the Web Service
A Web Service defined by a DADX file is self-describing. It dynamically
generates a documentation and test page, WSDL documents, and XML Schema.
The following HTTP GET URL requests the documentation and test page:
http://localhost:8080/Travel/TravelGroup/passengerList.dadx/TEST
The following HTTP GET URL requests the WSDL description of the service:
http://localhost:8080/Travel/TravelGroup/passengerList.dadx/WSDL
For HTTP SOAP, the services are invoked by sending SOAP envelopes using
POST to the URL:
http://localhost:8080/Travel/TravelGroup/passengerList.dadx/SOAP
We are ready to test the Web Service:
1. Switch to server perspective and start the WebSphere test environment.
2. Switch to Web perspective, and open the browser.
3. Enter:
http://localhost:8080/Travel/TravelGroup/passengerList.dadx/TEST as
the URL.
4. Click
retrieve_passengerList_rdb link, enter the flight number and click
Invoke. See Figure 9-20.
Figure 9-20 Testing Web Service