Announcement Announcement Module
Collapse
No announcement yet.
SOAPAction not populated Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X