[jboss-user] [JBossWS] - Re: file transfer via SOAP and RPC

mendret do-not-reply at jboss.com
Thu Jan 22 05:59:09 EST 2009


ok, found the "error", it is quite simple but I don't get the why... well maybe later on

the error was simply that

  | edition.setContent(new DataHandler(new FileDataSource("/opt/test2.dat"), "application/octet-stream"));
  | 

must be

  | edition.setContent(new DataHandler(new FileDataSource("/opt/test2.dat")));
  | 

@off topic
wouldn't it be nice to have something like an edit button? or is there one and I simply overlooked it?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203946#4203946

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203946



More information about the jboss-user mailing list