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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to