tell me more icon Adding the Service Implementation Code

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.

Source editor

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 webservice icon RatingService in the Application Navigator, and choose Test Web Service from the context menu.

Test Web Service context menu option

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 the send request icon Send Request. The processed value for rating will then be returned in the Response pane.

HTTP Analyzer, message sent

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,