4 Replies Latest reply on Jul 2, 2007 10:06 AM by Carlo de Wolf

    context

    Lukasz Jarzyna Newbie

      Hello,
      I have a problem with injection of WebServiceContext.

      @Resource()
      WebServiceContext wsCtx;
      
      MessageContext context = wsCtx.getMessageContext();
       Map attachments = (Map) context.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS) ;
      


      wsCtx is always null. I'm using JBoss 4.2.0. I tried almost everything without succes. If you have any question please ask. I need to make it work in very short time.

      Thank you in advance.
      Regards.