Hi,
I am using a WS-outboundGateway to get response using webservices.
The request that is generated through a SOAP UI client is :
The request generated by the ws-outbound gateway is:Code:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:lb="http://url"> <soapenv:Header/> <soapenv:Body> <lb:retrnTransactionNumber> <CREATE_REQUEST> </CREATE_REQUEST> </lb:retrnTransactionNumber> </soapenv:Body> </soapenv:Envelope>
How do i add the xmlns dynamically to the soap-envelope.Code:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/><SOAP-ENV:Body> <retrnTransactionNumber> <CREATE_REQUEST> <CREATE_REQUEST> <retrnTransactionNumber> </soapenv:Body> </soapenv:Envelope>
If i send <lb:retrnTransactionNumber> Spring integration gives me an error.Saying the element lb is not bound.
This is my Ws-outboundgateway configuration
Code:<ws:outbound-gateway id="createGateway" request-channel="createDataChannel" reply-channel="createInvoiceSerializationChannel" uri="http://localhost:8080/WebserviceTest/services/RequestImpl" />
Please help.
Thanks in advance.
Regards,
Annuk![]()


Reply With Quote
