[jboss-user] [Spring Integration] - spring-ws SOAP response empty
Stefan Rufer
do-not-reply at jboss.com
Wed Mar 31 15:37:45 EDT 2010
Stefan Rufer [http://community.jboss.org/people/stefanrufer] created the discussion
"spring-ws SOAP response empty"
To view the discussion, visit: http://community.jboss.org/message/535011#535011
--------------------------------------------------------------
I am trying to deploy a spring-ws SOAP webservice in JBoss 5.1 (JDK 1.6.0_18, spring 2.5.6, spring-ws 1.5.9). I am using JAXB2 as O/X binding. Setup is fine, beans found and wired, requests can be sent and responses are generated. However, SoapUI tells me that the reponse is "empty". It neither is in a SOAP envelope nor contains my simple pingResponse any content that is assembled on the server.
The correct response would be (generated with the same deployable in Tomcat 6.0.20):
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:PingResponse xmlns:ns2="http://six-group.com/issuing-backoffice/schemas">
<ns2:status>OK</ns2:status>
<ns2:responseTime>0ms</ns2:responseTime>
</ns2:PingResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
But I just get something like:
<Envelope>
<Header/>
<Body>
<ns2:PingResponse xmlns:ns2="http://six-group.com/issuing-backoffice/schemas"/>
</Body>
</Envelope>
Any hints appreciated.
cu
Stefan
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535011#535011]
Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100331/dc5732c4/attachment.html
More information about the jboss-user
mailing list