[jboss-user] [EJB 3.0] - Jboss 4.2.0 :WebServiceContext ok or not?

Pires da Silva do-not-reply at jboss.com
Mon Jul 2 08:54:10 EDT 2007


Hello,

I'm using Jboss 4.2.0.GA (jbossws 1.2.1.GA) but it seems injection of web context is not working?

Do I have to update some jars for this to work?

	 WebServiceContext context;
	   
	   @Resource
	   public void setContext(WebServiceContext context)
	   {
	      this.context = context;
	   }
...

	MessageContext msgContext = context.getMessageContext();
	sessionid = (String)msgContext.get("sessionid");

objects are set in context through handlers.

thanks


			

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059595#4059595

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059595



More information about the jboss-user mailing list