After completing the steps for creating a web service proxy from a web service description, JDeveloper displays the Java client file in the source editor. The Application Navigator should look similar to this:
In the RatingProxy project, you should see the ratingproxy.proxy package. The generated files in the CreditRatingServiceProxy web service proxy include the following:
CreditRatingService.wsdl: The WSDL document file JDeveloper created and copied for you. If you wish to inspect the WSDL document, you can use JDeveloper's integrated editors and Property Inspector to examine the content. In the Application Navigator, select
CreditRatingService.wsdl. The Structure window will then display the structure of the WSDL document. When you select an element in the Structure window, the Property Inspector will display the value of the selected element. You can also double-click
CreditRatingService.wsdlto open the document in the WSDL editor.
CreditRatingSoap12HttpPortClient.java: The Java client with a main method to invoke the proxy. JDeveloper automatically opens this file in the source editor. In the next cue card, you will add code to the main method to call the web service method.
CreditRatingService.java: Service implementation class
CreditRating.java: Service interface
If you open the service implementation class or service interface in the source editor, you can 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. For example, in the service implementation class, you should see an annotation similar to the following:
Copyright © 1997, 2009, Oracle. All rights reserved.