Announcement Announcement Module
No announcement yet.
SOAPAction not populated Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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: 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.