Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-101

Generating Holder Classes for IN-OUT parameters in WSDL (WSDL 1.1)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC3
    • jbossws-1.0Beta, jbossws-1.0RC1, jbossws-2.0.0
    • tools-jaxrpc
    • None

      WSDL 1.1 can define IN-OUT parameters. Then there is a need to generate Holders by the WSDL2Java component of JBossWS Tools.

      Now if the type that defines an INOUT parameter, is a type that is NOT supported by standard Jax-RPC types, then custom holder classes need to be generated.

      If the type is supported by Jax-RPC, then standard holders defined in the javax.xml.rpc.holders package can be used. Examples are ShortWrapperHolder, IntegerWrapperHolder, FloatWrapperHolder etc.

      Notes from JBossWS Tools project:
      ==================================
      This task is quite complicated as the transformation of WSDL 1.1 into WSDL 2.0 object graph provides lots of challenges in specifying INOUT parameters.

      Currently, I see the use of <property> elements in the WSDL2.0 object graph to capture the identity of INOUT parameters. The <property> elements will instruct the WSDLToJava tool to generate the Holder classes.

      Please refer to the subtasks for more information.

      Milestone: Q1 2004. End of March 2005.

              anil.saldhana Anil Saldanha (Inactive)
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: