
9.2.6 Test the Web Service
A Web Service defined by a DADX file is
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
Figure 9-20 Testing Web Service
Chapter 9. Developing XML Web services 207