Results 1 to 2 of 2

Thread: ws-client Empty SoapAction http header

  1. #1
    Join Date
    Feb 2006
    Posts
    8

    Default 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. #2
    Join Date
    Feb 2006
    Posts
    8

    Default fixed

    Added the following to my message callback


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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •