Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2332

reconsider non-support for Holders

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Java-SCA-1.x
    • SCA Java Runtime
    • None

    Description

      Though the Java annotations/API spec specifically says wrt WSDL-> Java mapping:

      The JAX-WS mappings are applied with the following restrictions:
      • No support for holders

      I'd like to suggest that we look into enabling such support anyway, as this seems overly restrictive and prevents us from supporting existing WSDLs with inout data.

      At least I don't see how we'd map these WSDLs to Java and would think we'd be way better off relying on the mapping defined by JAX-WS which does use Holders.

      (Not sure what this statement in the spec was trying to accomplish.)

      I attached an example WSDL with two operations which we'd want to use Holders in the corresponding Java methods. One has a common child element of both input/output wrapper elem and the other has a common part of input/output message.

      (Maybe it would be better to bring this up before opening a JIRA, but I wanted to attach the WSDL.)

      Attachments

        1. guessAndGreet.wsdl
          4 kB
          Scott Kurz
        2. sample-holder-ws-service.20081123.zip
          12 kB
          Daniel O. Becker
        3. SebastiensHolder.wsdl
          3 kB
          Daniel O. Becker

        Issue Links

          Activity

            People

              beckerdo Daniel O. Becker
              scottkurz Scott Kurz
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: