Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11984

[GSS] (EAP 7.1.z) SOAP - JAXB validation - fault when adding additional elements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.0.ER1
    • Web Services
    • None
    • Hide

      Example request:
      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wor="http://ws.bitmarck-software.de/framework/workflow/WorkflowBusinessWS">
      <soap:Header/>
      <soap:Body>
      <wor:setActivityStatus>
      <ActivityInstanceOid>3</ActivityInstanceOid>

      <MyTest>Hugo</MyTest>

      </wor:setActivityStatus>
      </soap:Body>
      </soap:Envelope>

      UnmarshalException

      • with linked exception:
        [com.sun.istack.SAXParseException2; lineNumber: 7; columnNumber: 11; unexpected element (uri:"", local:"MyTest"). Expected elements are <{}arg0>]
      Show
      Example request: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wor="http://ws.bitmarck-software.de/framework/workflow/WorkflowBusinessWS"> <soap:Header/> <soap:Body> <wor:setActivityStatus> <ActivityInstanceOid>3</ActivityInstanceOid> <MyTest>Hugo</MyTest> </wor:setActivityStatus> </soap:Body> </soap:Envelope> UnmarshalException with linked exception: [com.sun.istack.SAXParseException2; lineNumber: 7; columnNumber: 11; unexpected element (uri:"", local:"MyTest"). Expected elements are <{}arg0>]

    Description

      When sending a SOAP request with additional elements, it results in a Fault reporting an Unmarshalling Error because of unexpected element. This causes compatibility issues for applications migrated from EAP 5, where additional SOAP elements are ignored.

      Version-Release number of selected component: 7.x

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            fmarchio@redhat.com Francesco Marchioni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: