Beehive
  1. Beehive
  2. BEEHIVE-705

Service Contorl needs to be aware of the elementFormDefault attribute in registeing types.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: System Controls
    • Labels:
      None

      Description

      This issue has been imported from controlhaus

      At this time all names are registered as qualifed with their namespaces. This should only be the case if elementFormDefault="qualified" otherwise the namespaces should be left as blank.

      1. BEEHIVE-705.txt
        23 kB
        Chad Schoettger

        Activity

        Hide
        Chad Schoettger added a comment -

        Added patch for this bug and BEEHIVE-703.

        Fix for 705:

        • Added method to XmlBeanWSDLProcessor to build a Map of namespaces->elementFormDefault setting
        • Updated service control impl to use the map when building a Call object and to do the right thing with the parameter namespaces base on the elementFormDefault setting.

        Fix for 703:
        Updated XmlBeanDeserializer to be aware of the element form qualifed setting when parsing an axis response. The response from axis is always fully qualified (elementFormDefault="qualified") which causes problems for XML beans when the WSDL does not specify the element form qualified setting. If this situation is detected use XmlOptions during the XML bean parse to correctly load the response into an xml bean.

        Show
        Chad Schoettger added a comment - Added patch for this bug and BEEHIVE-703 . Fix for 705: Added method to XmlBeanWSDLProcessor to build a Map of namespaces->elementFormDefault setting Updated service control impl to use the map when building a Call object and to do the right thing with the parameter namespaces base on the elementFormDefault setting. Fix for 703: Updated XmlBeanDeserializer to be aware of the element form qualifed setting when parsing an axis response. The response from axis is always fully qualified (elementFormDefault="qualified") which causes problems for XML beans when the WSDL does not specify the element form qualified setting. If this situation is detected use XmlOptions during the XML bean parse to correctly load the response into an xml bean.
        Hide
        Chad Schoettger added a comment -

        To Eddie for commit/review

        Show
        Chad Schoettger added a comment - To Eddie for commit/review
        Hide
        Eddie O'Neil added a comment -

        Fixed in SVN 233496.

        Show
        Eddie O'Neil added a comment - Fixed in SVN 233496.

          People

          • Assignee:
            Nathan Jantz
            Reporter:
            daryoush mehrtash
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development