JBoss Community

how to get file attached in a SOAP message

created by Antoine Brun in JBoss Web Services - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community