Java Reference
In-Depth Information
Figure4-8.NetBeans 6 Web Service Client Wizard
1. Once you click Next, NetBeans will create a local catalog for the WSDL and generate
portable JAX-WS objects based on it. It puts them in a folder under your builddirectory
called generated/wsimport/client.You will see a new folder available under your project
called WebServiceReferences. This stores a list of the web services that your project is
using (that NetBeans knows about).
2. Now that your service is available, you can drag and drop from the name of the service
operation you want to invoke directly onto your main method. This will generate inline
the necessary code skeleton, as shown in Figure 4-9 .
At this point you can add the necessary values to the skeleton code and right-click to clean,
build, and run the client project.
Search WWH ::




Custom Search