Hi,

I have been trying to inject Spring beans to JBossWS native service 
implementation but still not successful. I tried getting the 
WebApplicationContext as follows, via @Resource WebServiceContext context, but 
it returns null (java.lang.UnsupportedOperationException: Not yet supported):

ServletContext servletContext =
                        (ServletContext) context.getMessageContext().get(
                                        MessageContext.SERVLET_CONTEXT);
webApplicationContext =
                        
WebApplicationContextUtils.getWebApplicationContext(servletContext);

Is there any example to inject Spring beans to JBossWS (native) services?

Regards,
Sagol

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261766
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to