Use to preconfigure the features that are used by the wscompile
tool to compile a JAX-RPC web service:
wscompile
tool will create a service endpoint interface and implementation class for your JAX-RPC web service.wscompile
tool creates a WSDL file.Note: If the project does not contain JAX-RPC web services, the JAX-RPC Web Services page does not exist.
Features
If you are implementing an existing WSDL file, you can check or type one or more of the following wscompile
tool features:
Feature | Effect on Web Service |
---|---|
|
Maps attachments to the DataHandler type. |
|
No regeneration of classes that already exist on the classpath. |
|
Disables unwrapping of document/literal wrapper elements in WSI mode (default). |
|
Turns on explicit service context mapping. |
|
Maps anonymous enumeration to its base type. |
|
Turns off data binding for literal encoding. |
|
Turns off encoding type information. |
|
Turns off support for multiple references. |
|
No generation of RPC structures ( |
|
Turns off full validation of imported WSDL documents. |
|
Resolve |
|
Searches schema aggressively for types. |
|
Turns on direct serialization of interface types. |
|
Generates code strictly compliant with the JAX-RPC Specification. |
|
Enables unwrapping of |
|
Checks for compliance with the WSI-Basic Profile, which is a specification for improved interoperability. For example, the WS-I Basic Profile prohibits the use of |
If you want to compile a document-style web service, you can check or type one or more of the following wscompile
tool features:
Feature | Description | Required? |
---|---|---|
|
Use this to specify in the WSDL file that the web service is of style "document". By default, all web services that do not have at least one operation are compiled as document-style web services. |
Yes |
|
No regeneration of classes that already exist on the classpath. |
No |
|
Not applicable. |
- |
|
Generates code strictly compliant with the JAX-RPC Specification. |
No |
|
Not applicable. |
- |
If you want to compile a RPC-style web service, you can check or type one or more of the following wscompile tool features:
Feature | Description | Required? |
---|---|---|
|
Not applicable. |
- |
|
No regeneration of classes that already exist on the classpath. |
No |
|
Encoding rules are defined in the XML Schema. By default, RPC-style web services have their encoding rules defined in the SOAP 1.1 Specification. With this feature, it uses the XML Schema defined in the types element for encoding purposes instead. |
No |
|
Turns off support for multiple references. |
No |
|
Use this to specify in the WSDL file that the web service is of style "rpc". By default, all web services that have at least one operation are compiled as RPC-style web services. |
Yes |
|
Turns on direct serialization of interface types. |
No |
|
Generates code strictly compliant with the JAX-RPC Specification. |
No |
|
Methods with void return types are mapped as one-way operations. |
No |
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |