Hello,

we have problem with getting SOAP Header
(SpringWebserviceConstants.SPRING_WS_SOAP_HEADER) from response. For
communication we use spring-ws.

Response looks like:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:test="http://www.test.com";>
   <soapenv:Header>
      <test:sessionId>asdasdasd</test:sessionId>
   </soapenv:Header>
   <soapenv:Body>
      <test:LoginResponse/>
   </soapenv:Body>
</soapenv:Envelope>

when we call
exchange.getIn().getHeader(SpringWebserviceConstants.SPRING_WS_SOAP_HEADER),
we retrieve SOAP Header for request, no for response. In source code of
spring-ws component I see that this is not at all solved. Please is there
any solution how to get SOAP Header from response?

Tomas





--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-getting-SOAP-Header-from-response-for-spring-ws-tp5759949.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to