Announcement Announcement Module
Collapse
No announcement yet.
How to handle soap headers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to handle soap headers

    Hi everyone!

    Is it possible to handle soap headers (write headers in the request and read them in the response) in a WebServiceTemplate class based ws client?

    If it is possible, can someone point me in the right direction?

    If it isn't, can someone tell me what should I use?

    Sorry for my bad english

    Thank you very much in advance

    Regards

  • #2
    Solved!

    I'm using the WebServiceTemplate's sendAndReceive( WebServiceMessageCallback requestCallback, WebServiceMessageExtractor responseExtractor) method. Sorry if it was obvious.

    Regards

    Comment


    • #3
      Hi,
      Can you let me know how you managed to this? I am trying add a namespace to the envelope using the same method but I am getting an exception. If you can provide me with the code that would be great.

      Thanks,
      --Narasimha

      Comment

      Working...
      X