[jboss-user] [JBoss Web Services] - WS Response namespaces change from JB4.2.2 to JB6

borfnorton22 borfnorton22 do-not-reply at jboss.com
Mon Mar 21 14:25:47 EDT 2011


borfnorton22 borfnorton22 [http://community.jboss.org/people/borfnorton22] created the discussion

"WS Response namespaces change from JB4.2.2 to JB6"

To view the discussion, visit: http://community.jboss.org/message/594567#594567

--------------------------------------------------------------
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
[http://community.jboss.org/message/594567#594567]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110321/3f54b473/attachment.html 


More information about the jboss-user mailing list