New Web Service Client Wizard: WSDL and Client Location

The New Web Service Client wizard creates a new Web Service Client.

Use this page to specify the details of the local or remote domain by selecting one of the following options.

Element Description

Specify WSDL file of the Web Service

Specify one of the following
    Project Select this option to specify an open project where the web service is defined. Click Browse to locate it in the IDE.
    Local File Select this option to specify a WSDL file in your local filesystem. Click Browse to locate it in your filesystem.

WSDL URL

Select this option to specify 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.

IDE Registered

Select this option to select a web service that is registered with the IDE. Click Browse to select from a list of registered services.
Package (Optional) Specify the package where the client files will be generated. The generated client files can be found 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.

Generate Dispatch Code

If 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 feature and disabled by default.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.