In the Project Explorer, right-click the node ItemService.java and select Run
As > Run on Server.
In the Run On Server dialog, click Finish.
Wait for the web service to deploy to the server.
A web browser tab will appear
showing the WebLogic Test Client, a testing environment you can use to exercise
the methods of your web service.
In the Test Client, under the calculateTotal operation name, you'll see a box
containing XML based on the schema you created. This is intended to be a template
for testing.
In the template XML, you can replace values in the <price> and <quantity> elements
with values you want to test with.
Click calculateTotal to test the web service.
The Test Client will refresh to display XML representations of the request
and response messages received and sent by your web service.
Note that the
response includes the sum calculated from values retrieved from XML via generated
types.
Click one of the following arrows to navigate through the tutorial: