Store session information like this: MessageContext.getCurrentMessageContext().getSessionContext().setProperty(key, val) Retrieve it like this: MessageContext.getCurrentMessageContext().getSessionContext().getProperty(key)
Andrew James Neff wrote: > in my services.xml I have the attribute scope="TransportSession". > > In my client I have this: > > myServiceStub stub = new myServiceStub(); > myServiceStub.MyMethod myServiceRequest = new myServiceStub .MyMethod(); > myServiceRequest .setParameter(parameterValue); > stub._getServiceClient().getOptions().setManageSession(true); > > But the session is not keeping. > > It looks like the myService is getting instantiated for each call, and > not being held in a session. > > What am I doing wrong? > > Thanks in advance, > Jim > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Martin Computer Programmer Regenstrief Institute, Inc. 410 West 10th Street, Suite 2000 Indianapolis, IN 46202-3012 Phone: (317) 423-5542 Fax: (317) 423-5695 [EMAIL PROTECTED] Confidentiality Notice: The contents of this message and any files transmitted with it may contain confidential and/or privileged information and are intended solely for the use of the named addressee(s). Additionally, the information contained herein may have been disclosed to you from medical records with confidentiality protected by federal and state laws. Federal regulations and State laws prohibit you from making further disclosure of such information without the specific written consent of the person to whom the information pertains or as otherwise permitted by such regulations. A general authorization for the release of medical or other information is not sufficient for this purpose. If you have received this message in error, please notify the sender by return e-mail and delete the original message. Any retention, disclosure, copying, distribution or use of this information by anyone other than the intended recipient is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]