A good article avaialable at http://www.ibm.com/developerworks/webservices/library/ws-tip-stateful.html.
The article mentions how to enable service to use HTTPSession object. Also, it describs how Java web service client can participate in session.
But, for .net client
Just need to set CookieContainer of web service to
m_Service.CookieContainer = New System.Net.CookieContainer()
Refer: http://www.codeproject.com/KB/vb/WebService_Sessions.aspx
Saturday, October 4, 2008
Friday, October 3, 2008
Trace SOAP Message in WebSphere
Enable trace for a Web Services for Java 2 enterprise edition (J2EE) server application.
- Start WebSphere Application Server.
- Open the administrative console.
- Click Servers > Application Servers > server.
- Click Change Log Detail Levels.
- Add or delete the trace string in the text box.
- For this task, delete the trace string *=info and add the trace string com.ibm.ws.webservices.engine.*=all=enabled. OR
- Type the trace string directly into the text box. You must separate each trace string by a colon (:) with no spaces. For example: com.ibm.ws.webservices.trace.MessageTrace =finest:com.ibm.ws.webservices.engine.Message=finest
This will log the soap message in trace.log file.
Subscribe to:
Posts (Atom)