Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-635

soapjaxb in camel route fails with exception related to unmarshalling on soap envelop.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.10.0-fuse-71-047
    • 2.9.0-fuse-00-00
    • None
    • None

    Description

      Camel route like :

      <camelContext trace="false" id="blueprintContext" xmlns="http://camel.apache.org/schema/blueprint">
          <route id="SoapToJaxB">
              <from uri="file://data"/>
              <unmarshal>
                  <soapjaxb contextPath="com.test.package"/>
              </unmarshal>
              <log loggingLevel="INFO" message="message"/>
          </route>
      </camelContext>
      

      Fails on unmarshalling JAXB Objects read from the file with exception :

      Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.w3.org/2003/05/soap-envelope", local:"Envelope"). Expected elements are <{http://schemas.xmlsoap.org/soap/envelope/}

      Attachments

        Issue Links

          Activity

            People

              cibsen@redhat.com Claus Ibsen
              ubhole Ulhas Bhole (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: