Qpid
  1. Qpid
  2. QPID-1574 QMan WS-DM Adapter
  3. QPID-1577

Use JAXB in order to dynamically create / populate wsdl:types/xsd:schema section for complex types.

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Later
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
    • Environment:

      J2SE 1.5 or higher

      Description

      When a new object instance is created on Qpid side, QMan receives content indication message about that.
      On its side this is what happens:

      • JMX core creates and register a new MBean for that instance;
      • WSDM Adapter creates a WS resource including WSDL and the corresponding capability.

      If the incoming object instance has some complex property (i.e. Map or UUID) the WSDLBuilder, which is the component responsible to build wsdl for the resource, uses hard-coded statements in order to define schema section of wsdl.

      Improvement should made in order to do that using automatic schema generation feature of JAXB API.

        Activity

        Hide
        Andrea Gazzarini added a comment -

        move to M6

        Show
        Andrea Gazzarini added a comment - move to M6
        Hide
        Andrea Gazzarini added a comment -

        The current implementation of WSDL Builder is not good...it contains hard-coded mappings between Java and XML types...
        The optimal things should be to do those things using JAXB but javax.xml.bind API have been incorporated only since JDK 1.6 and QMan is supposed to be 1.5 or higher compatible. I f we want to use the JAXB libs on JDK1.5 we should add additional dependencies

        Show
        Andrea Gazzarini added a comment - The current implementation of WSDL Builder is not good...it contains hard-coded mappings between Java and XML types... The optimal things should be to do those things using JAXB but javax.xml.bind API have been incorporated only since JDK 1.6 and QMan is supposed to be 1.5 or higher compatible. I f we want to use the JAXB libs on JDK1.5 we should add additional dependencies

          People

          • Assignee:
            Andrea Gazzarini
            Reporter:
            Andrea Gazzarini
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 48h
              48h
              Remaining:
              Remaining Estimate - 48h
              48h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development