In this example, you will add the service implementation code in the
RatingServiceImpl.java file that JDeveloper generated when you used the wizard to create the Java web service from the WSDL.
To begin editing the
RatingServiceImpl.java file, you will open the file in the source editor by double-clicking
RatingServiceImpl.java in the Application Navigator.
After adding the service implementation code, you will test the web service in JDeveloper's integrated server instance. To do this, you will right-click RatingService in the Application Navigator, and choose Test Web Service from the context menu.
After a while, JDeveloper will display the HTTP Analyzer test window with the Request and Response panes. In the Request pane, you will enter a value for the ssn argument and click Send Request. The processed value for rating will then be returned in the Response pane.
Copyright © 1997, 2009, Oracle. All rights reserved.