Uploaded image for project: 'FUSE ESB'
  1. FUSE ESB
  2. ESB-1109

namespace stripped from request

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.4.0.4-fuse
    • Fix Version/s: 3.4.0.6-fuse
    • Component/s: servicemix-cxf-bc
    • Labels:
      None
    • Environment:

      tested with: 3.4.0.4 and 3.4.0-SNAPSHOT

      Description

      The attached test case contains a modified version of the cxf-wsdl-first demo with an additional CXF BC and HTTP provider. The flow is a request comes into a CXF BC that sends it on to the HTTP provider, who in turn invokes the actual demo CXF BC, so the additional components are effectively a pass through. However, the HTTP provider strips off the namespace qualifier of the response:

       <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:typ="http://servicemix.apache.org/samples/wsdl-first/types">
         <soapenv:Header/>
         <soapenv:Body>
            <typ:GetPerson>
               <typ:personId xsi:type="OpportunityType">
                  <typ:somename>?</typ:somename>
                  <typ:test>?</typ:test>
               </typ:personId>
            </typ:GetPerson>
         </soapenv:Body>
      </soapenv:Envelope>
       

      becomes:

         <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><typ:GetPerson xmlns:typ="http://servicemix.apache.org/samples/wsdl-first/types">
               <typ:personId xsi:type="OpportunityType">
                  <typ:somename>?</typ:somename>
                  <typ:test>?</typ:test>
               </typ:personId>
            </typ:GetPerson></soap:Body>
         </soap:Envelope>
       

      To run the test just build the project, deploy it and use soapui or client.html to invoke on the service, the returned XML will look like the above.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ccustine1 Chris Custine
                  Reporter:
                  pedroneveu Pedro Neveu
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: