|Using Web Service Explorer to test a Web service|
Using Web Service Explorer to test a Web service
By Kathy Chan
This document is a one of a series of tutorials to demonstrate the use of the Web Services tools in the Web Tools Platform Project.
This tutorial shows how to use the Web Service Explorer to test a Web service via native WSDL and SOAP. It demonstrates how to use the Web Services Explorer to invoke operations on a Web service named " Temperature - Weather " as available from XMethods on the internet.
The only prerequisite is that you be connected to the internet. If you are connected via a firewall, you can use the Internet preferences page (choose Preferences -> Internet from the main menu). Other than that, you can begin with a completely fresh workspace and no installed servers.
Follow the instruction at Getting Started with Web Service before proceeding with the tutorial.
|Using the Web Services Explorer to test a Web service|
return (float): 57.0
You may need to move the horizontal bar separating the Actions and Status panes upwards a bit to get a better view. Result:
The Web Services Explorer is a JSP Web application hosted on the Apache Tomcat servlet engine contained within Eclipse. It is integrated into Eclipse on two levels: visually by virtue of it running in the embedded browser, and logically by virtue of it running as a thread in the Eclipse JRE. Though not demonstrated in this scenario, this latter type of integration allows the Web Services Explorer to access resources in the workspace, write resources into the workspace, and launch various Web services wizards.
The Web Services Explorer provides three key services to the user: