JAX-RPC Wscompile

Applies to ReadyAPI 3.7, last modified on April 08, 2021

The wscompile tool generates files used by the Java API to work with JAX-RPC clients and services.

For details, see https://docs.oracle.com/javame/dev-tools/jme-sdk-3.0-mac/UserGuide-html/z400007747424.html.

The wscompile tool is included in JDK 6 and later.

Basic Tab

On the Basic tab, you can configure the export parameters.

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.

Package

The name of the generated package file.

Directory

The full path to the output folder.

Keep

Select to keep the generated files after the compilation is over.

Mapping

The full path to the generated j2ee mapping.xml file.

Model

The full path to the file to write the internal model to.

Source

The path to the output folder for the generated source files.

Non-Class

The path to the output folder for non-class generated files.

Optimize

Select to optimize the generated code.

Debug

Select to generate debug information.

Source Version

Specify the JAX-RPC SI version to generate the code for.

Possible values: 1.0.1, 1.0.3, 1.1, 1.1.1, 1.1.2.

Security

The full path to the security configuration file you want to use to generate security code.

Proxy

The HTTP proxy server address.

Features Tab

On the Features tab, you can configure the -f parameter of the wscompile tool.

The Features tab

Click the image to enlarge it.

Option Description

Datahandleronly

Select to map DataHandler type attachments.

Donotunwrap

Select to disable unwrapping of document/literal wrapper elements in WSI mode.

Explicitcontext

Select to enable explicit service context mapping.

Jaxbenumtype

Select to map anonymous enumeration to its base type.

Nodatabinding

Select to disable data binding for literal encoding.

Noencodedtypes

Select to disable type information encoding.

Nomultirefs

Select to disable support for multiple references in generated files.

Norpcstructures

Select to disable generation of RPC structures.

Novalidation

Select to disable full validation of imported WSDL definitions.

Resolveidref

Select to resolve xsd:IDREF elements.

Searchschema

Select to aggressively search a schema for types.

Serializeinterfaces

Select to enable direct serialization of interface types.

Strict

Select to generate code strictly compliant with the JAXRPC spec.

Unwrap

Select to enable unwrapping of document/literal wrapper elements in WSI mode.

Wsi

Select to enable WSI-Basic Profile features.

Note: Use it for document/literal and rpc/literal elements.

Advanced Tab

On the Advanced tab, you can map WSDL namespaces to Java packages.

The Advanced tab

Click the image to enlarge it.

Custom Args Tab

On the Custom Args tab, you can specify tool arguments you cannot configure using the dialog options. Use the Tool Args edit box to specify command-line arguments for the tool.

The Custom Args tab

See Also

Code Generation in ReadyAPI
Running SOAP Code Generation Tools

Highlight search results