Building a JAX-RPC Web Service from a WSDL File

See Also 

Before you build, you can specify which of the wscompile tool's features are applicable to the web service that you will build from your WSDL file.

To build a web service from a WSDL file:
  1. Right-click the project node in the Projects window and choose Properties.
  2. In the Project Properties dialog box, select the Web Services page.
  3. Type or select the wscompile features when implementing an existing WSDL file:

    Feature Effect on Web Service
    datahandleronly Maps attachments to the DataHandler type.
    donotoverride No regeneration of classes that already exist on the classpath.
    donotunwrap Disables unwrapping of document/literal wrapper elements in WSI mode (default).
    explicitcontext Turns on explicit service context mapping.
    jaxbenumtype Maps anonymous enumeration to its base type.
    nodatabinding Turns off data binding for literal encoding.
    noencodedtypes Turns off encoding type information.
    nomultirefs Turns off support for multiple references.
    norpcstructures No generation of RPC structures (-import only).
    novalidation Turns off full validation of imported WSDL documents.
    resolveidref Resolve xsd:IDREF.
    searchschema Searches schema aggressively for types.
    serializeinterfaces Turns on direct serialization of interface types.
    strict Generates code strictly compliant with the JAX-RPC Specification.
    unwrap Enables unwrapping of document/literal wrapper elements in WSI mode.
    wsi 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 rpc/encoded. Therefore, if you set the wsi feature, a warning will be generated when you build a web service from a WSDL file that uses rpc/encoded.
  4. Click OK.
  5. Regenerate the web service artifacts.
  6. Do one of the following to build the web service:
See Also
About Web Services

Legal Notices