New Web Service Client Wizard: Specify Web Service Client Information
See Also
The New Web Service Client wizard creates a new Web Service Client.
You open the New Web Service Client wizard by right-clicking a web application or
Java application, choosing New > Other and selecting Web Service Client
from the Web Services category.
In the Specify Web Service Client Information page, you have to set the following properties:
- Specify the WSDL file of the web service:
- Project. Specifies an open project where the web service is defined. Click
Browse to locate it in the IDE.
- Local File. Specifies a WSDL file in your local filesystem. Click Browse
to locate it in your filesystem.
- WSDL URL. Specifies the URL to a running web service's WSDL file. If you
use a proxy server, you must click Proxy Settings and set the proxy host and port number,
otherwise the IDE will not be able to download the WSDL file.
- Optionally, specify the package where the client files will be generated. When you complete
the wizard, you can find the generated client files in the Projects window, in the Generated
Sources node of the client project, or in the Files window, within the
build folder.
If you do not specify a package name, the IDE generates the client
files in the default package, which is based on the namespace in the WSDL. You can change this package name later in the
WSDL Customization editor.
- Client Style. Specify whether to use JAX-WS or the older JAX-RPC client style. JAX-WS is selected
by default. However, older services may require JAX-RPC clients. Install the JAX-RPC Web Services plugin to create JAX-RPC clients.
- Generate Dispatch CodeIf you want to use raw XML messages when invoking the web service, select Generate Dispatch Code. The client code is generated using the java.xml.ws.Dispatch interface instead of the usual service endpoint interface. This is an advanced feaure and is unselected by default.
- See Also
- About Web Services
Legal Notices