JAX-WS/JWSDP Wsimport

Applies to ReadyAPI 3.9, last modified on July 30, 2021

You can use the wsimport tool to generate JAX-WS portable artifacts. You can then pack the files into a WAR archive and deploy them.

For details, see https://docs.oracle.com/javase/6/docs/technotes/tools/share/wsimport.html.

The wsimport tool is included in JDK 6 or later.

Basic Tab

On the Basic tab, you can configure the parameters of the generated service code, specify the WSDL file to generate it from and the location where you want to save it.

The Basic tab

Click the image to enlarge it.

Option Description

WSDL

The path to the definition file to use.

Use cached WSDL

Select to use the WSDL definition cached in ReadyAPI.

Target Directory

The full path to the folder to save the files to.

Package

The name of the generated package.

Source Directory

The folder for the generated source files.

HTTP Proxy

The HTTP proxy server parameters.
Syntax: [host]:[port].

Catalog

The catalog used to resolve external references.

Binding Files

JAX-WS binding files.

wsdlLocation

The value of the @WebServiceClient.wsdlLocation element.

Keep

Select to keep the generated files.

Custom Args Tab

On the Custom Args tab, you can specify tool arguments you cannot configure using the dialog options. ReadyAPI adds the value specified in the Tool Args edit box to the resulting command line.

The Custom Args tab

Click the image to enlarge it.

See Also

Code Generation in ReadyAPI
Running SOAP Code Generation Tools

Highlight search results