0 Replies Latest reply on Mar 21, 2011 2:25 PM by borfnorton22 borfnorton22

    WS Response namespaces change from JB4.2.2 to JB6

    borfnorton22 borfnorton22 Newbie

      Hi,

      We just upgraded from jboss 4.2.2 to Jboss 6

       

      Our webservice comes up OK and we can call it however the responses are different, in particular the namespaces (soap: vs env:). This is breaking some of our clients. How can we fix this?

       

      For example

       

      On JBOSS 4.2.2 a response looks like this:

       

      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header/>
         <env:Body>
            <ns2:isTitleAvailableResponse xmlns:ns2="http://users.mysite.com/">
               <return>true</return>
            </ns2:isTitleAvailableResponse>
         </env:Body>
      </env:Envelope>
      

       

       

      On JBOSS 6 a response looks like this (we need it to look like 4.2.2 above)

       

       

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body>
            <ns2:isTitleAvailableResponse xmlns:ns2="http://users.mysite.com/">
               <return>true</return>
            </ns2:isTitleAvailableResponse>
         </soap:Body>
      </soap:Envelope>