[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
davideling
do-not-reply at jboss.com
Mon Jun 25 09:55:52 EDT 2007
Exposed interface method
| @WebMethod
| @WebResult(name="responseMessage")
| public ResponseMessage eleaborateMessage(
| @WebParam(name="requestMessage")
| RequestMessage message);
|
Request bean
| public class RequestMessage implements Serializable {
|
| ...
|
| private DataHandler attachment;
|
| @XmlMimeType("application/pdf")
| public DataHandler getAttachment() {
| return attachment;
| }
|
| public void setAttachment(DataHandler attachment) {
| this.attachment = attachment;
| }
|
| ...
|
| }
|
The attachment arrive correctly to destination... but it's not an attachment! ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057357#4057357
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057357
More information about the jboss-user
mailing list