-
Feb 7th, 2012, 09:43 AM
#1
SOAPAction not populated
Hi All
I'm trying to invoke a web service and initially i tried the XML config approach using <int-ws:outbound-gateway> and I got the error. I'm using a WSDL to generate the Java objects in this case.
Caused by: org.springframework.ws.soap.client.SoapFaultClient Exception: Server did not recognize the value of HTTP Header SOAPAction: .
Then I tried the invocation using below Java methods and it was a success.
Object obj = webserviceTemplate.marshalSendAndReceive(creditTra nsactionRequest, new SoapActionCallback("http://www.bla.bla"));
The down side I see with the java methods is I need to write more lines of code and also hard code the Soap action in to each web service call. Is there any way that we could simply use the XML configuration to do this without running in to the missing soap action in header issue ?
Your help is much appreciated.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules