tell me more icon In the IDE

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.

Web services log in the Log window

The Application Navigator should look similar to this:

Application Navigator after creating web service

In the project, you should see the Web Content folder and the Application Sources folder.

  • In the WEB-INF folder under Web Content, you should see the web.xml file 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>
                                    
  • In the Application Sources folder, the generated files include the following:
    • CreditRatingDetails.java: Java class for the CreditRatingDetails complex type
    • 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.

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