When you finish the wizard steps for creating the Java web service from the WSDL, JDeveloper displays messages in the Web Services Log window that tell you the generation is complete.
The Application Navigator should look similar to this:
In the project, you should see the Web Content folder and the Application Sources folder.
web.xmlfile that JDeveloper has automatically created and configured with the necessary web service servlet and servlet mapping configuration elements:
<servlet> <servlet-name>RatingServicePort</servlet-name> <servlet-class>project1.RatingServiceImpl</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>RatingServicePort</servlet-name> <url-pattern>/RatingservicePort</url-pattern> </servlet-mapping>
CreditRatingDetails.java: Java class for the
RatingServiceImpl.java: Service implementation class. In the next step, you will edit this file in the source editor to add implementation code for the operation.
When you open the service implementation class file in the source editor, you will see the JAX-WS annotations that provide the mapping from Java to the WSDL and schema, and control how the JAX-WS runtime processes and responds to web service invocations.
Copyright © 1997, 2009, Oracle. All rights reserved.