Announcement Announcement Module
Collapse
No announcement yet.
ws-client Empty SoapAction http header Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ws-client Empty SoapAction http header

    Hi.
    I'm creating a ws client using 1.5.6.

    I'm using to wss4j to secure the message and I've got a MessageCallback handler that I use in the MarshallSendAndReceive. The MessageCallback
    handler sets the SOAP action using the ActionCallback.

    When the message is sent, I see the action in the message
    <wsa:Action>http://www.imsglobal.org/soap/gms/readGroup</wsa:Action

    but the http header has:

    Wed Apr 22 11:51:56 EDT 2009:INFO:>> "SOAPAction: """



    How can i get the saopaction into the http header ?

    I'm connecting to a .NET server and its complaining that the soapaction
    is missing from the http header.

    Thanks,
    Tom

  • #2
    fixed

    Added the following to my message callback


    ((SoapMessage)message).setSoapAction(actionDescrip tion);

    Comment

    Working...
    X