1 Reply Latest reply on May 11, 2005 2:05 PM by sirwio

    ServiceLifecycle problem with webservice and jboss-4.0.2

    sirwio Newbie


      I'm in the task of developing a binary file upload webservice on jboss. The binary attachment is passed as a mime multipart attachment. In order to retrieve the attachment the webservice implements ServiceLifecycle.

      The context retrevied from the argument of the init method is then used to retrive the SOAPMessage context as shown below.

      SOAPMessageContext msgContext = (SOAPMessageContext) context.getMessageContext();

      This worked fine in jboss-4.0.1 and jboss-4.0.2RC1 but the the init method doesn't seem to be called on jboss-4.0.2 since the context variable is null.

      Am I doing something faulty. Perhaps something needs to be configured differently in jboss-4.0.2?