Another 8.5.3 hidden gem - SOAP Header for Web Services in Lotus Domino

In 8.5.2 you can not get handle of SOAP Header in web service provider. According to Elena Neroslavskaya one can somehow extract the generated Axis code base and make the changes there. Definitely not an option for me: I do not want to extract some %%webservice.jar%% files attached to web service provider design element, make changes to files inside it and then put it back.

But I tried to get MessageContext.getCurrentContext() from web service provider in Lotus Domino 8.5.3CD5 and it seems to work!!! At least web service can be compiled without errors. Trouble is I do not have 8.5.3CD5 server installed just now and therefore I can not test it. But I think they made MessageContext available in web service provider code for a reason.

EDIT: I tried it on 8.5.3CD5 server and it works!

Tags: 

Comments

SOAP Header

Do you know if this solution is available in 8.5.3 official release? Can you explain me better how it function?
I have necessity to add a user authentication in soap header in a lotusscript agent.
Thank you very much for your answer and sorry for my english!
My email is m_campisi@oasi-net.it

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.