JBoss Community

WS Response namespaces change from JB4.2.2 to JB6

created by borfnorton22 borfnorton22 in JBoss Web Services - View the full discussion

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>

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community