Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web service session management useing SOAPSession

 
venu jayaram
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi javarancher's,


I am facing problem to create session in web service using SOAP Session,
please any one tell the how to create the session that i want store username in session. please asap before i worked in struts application i am very new to this web service.......

please please..............


Thanks and Regards
Venu J
SCJP1 1.5
 
venu jayaram
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey please any one give me hint how to do this session management using soapsession. please i am very new to web service and axis2 ...........


please...................
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis2 may support the use of sessions based on HTTP headers - however general SOAP web services do/should not.

SOAP web services should not rely on HTTP Session

Services are supposed to be stateless. State should be either stored in the client or deferred to a back end system (e.g. database).

Now if you don't mind your clients being exclusively coupled to Axis2/Java...
Axis2 Session Management
[ December 02, 2008: Message edited by: Peer Reynders ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic