[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?
mrostan
do-not-reply at jboss.com
Sun Feb 24 19:36:34 EST 2008
Hi Claudio.
Maybe I was not clear enough, I'm not sure you have tried my solution, so here is an example:
Create a wrapper class, let's say Documentos:
| public class Documentos {
| @XmlMimeType("application/octet-stream")
| private String dummy;
|
| private List<DocumentoData> documentos;
| }
|
It should work, the trick is the annotation in the dummy string, simply put the field, you don't need to use it
Btw, I will upload a patch later, and I will test a case similar to yours, so I expect this problem to be fixed on jbossws 2.0.4 .
Regards,
Martin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131721#4131721
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131721
More information about the jboss-user
mailing list