When you used the wizard to generate the web service proxy in the previous card, JDeveloper also automatically generated the
CreditRatingSoap12HttpPortClient.java file, which is a Java client that can connect to the proxy.
To use the Java client to connect to the proxy and use the proxy to send a request to the service to observe the response, you need to add code to the
main() method in the client to call the method that is exposed as a web service operation.
In the source editor for the Java client, the
main() method contains code that instantiates a port to the web service proxy, invokes the web service method with a parameter value, and returns the response result.