[jboss-user] [JBossWS] - jboss does not recognize part accessor with null namespace i
Adeel
do-not-reply at jboss.com
Wed Oct 11 02:38:16 EDT 2006
I am invoking a rpc/lit service on apache axis from jboss. I get the following error:
Caused by: org.jboss.ws.WSException: Content root name does not match element name: getPersonInfoReturn != {http://typespackage}getPersonInfoReturn
at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:818)
at org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:719)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270)
at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186)
at org.jboss.util.xml.DOMWriter.printNode(DOMWriter.java:135)
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:193)
The request message jboss is sending is:
<env:Body>
<ns1:getPersonInfo xmlns:ns1='http://typespackage'>
<in0 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
123
12
adeel
</in0>
</ns1:getPersonInfo>
</env:Body>
Response message from axis is:
<soapenv:Body>
123
12
adeel
</soapenv:Body>
Is there some problem with the response message?
Furthermore, as per the WS-I Basic Profile R2735: An ENVELOPE described with an rpc-literal binding MUST place the part accessor elements for parameters and return value in no namespace. Plz See http://ws-i.org/Profiles/BasicProfile-1.1-2004-06-11.html#R2712
Isn't the request sent by jboss and the response sent by axis voilating WS-I BP?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977431#3977431
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977431
More information about the jboss-user
mailing list