0 Replies Latest reply on May 19, 2011 11:49 AM by Antoine Brun

    how to get file attached in a SOAP message

    Antoine Brun Newbie

      Hello,

       

      I'm trying to understand the mecanism to get a SOAP attachment in a EJB3 based web service.

       

      I'm using SOAP UI to add an attached file to my SOAP request.

      I was able to parse the attachments with a SOAPHandler defined in a handler chain.

       

      but

       

      how do I get the attachments in the web service implementation?

       

      The attachment is available in the SOAPMessageContext but this SOAPMessageContext is not available in the EJB3 that implements the web service.

       

      Can someone direct me to some doc or examples?

       

      Thank you,

       

      Antoine