Building a JAX-RPC RPC-Style Web Service

See Also 

Before you build, you can specify which of the wscompile tool's features are applicable to your RPC-style web service.

To build a JAX-RPC RPC-style web service:
  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 relevant to RPC-style web services:
    Feature Description Required?
    documentliteral Not applicable -
    donotoverride No regeneration of classes that already exist on the classpath. No
    noencodedtypes 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
    nomultirefs Turns off support for multiple references. No
    rpcliteral 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
    serializeinterfaces Turns on direct serialization of interface types. No
    strict Generates code strictly compliant with the JAX-RPC Specification. No
    useonewayoperations Methods with void return types are mapped as one-way operations. No
  4. Click OK.
  5. Do one of the following to build the web service:
  6. The IDE does the following:

  7. Analyze the WSDL file. If necessary, reset the wscompile tool's features and build the web service again.
See Also
About Web Services

Legal Notices