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();
I have created an JIRA issue for this.
Attached to the issue are two war files - The webservice and a servlet to test the webservice. Deploys and works as expected on JBoss-4.0.1 but fails on JBoss-4.0.2