Ok!

What I mean is when I have a DataHandler I can get an input stream to the reach 
the attachment data. But what if I have the following xml. How do I get my xml 
document:


  | <my-xml>
  |    <list-of-something>
  |       <something>
  |          <normal-xml>
  |             <textual-info-1> SOME TEXTUAL INFO 1 </textual-info-1>
  |             <textual-info-2> SOME TEXTUAL INFO 2 </textual-info-2>
  |          </normal-xml>
  |          <binary>this part will go as MTOM attachment</binary>
  |       <something>
  |       <something>
  |          <normal-xml>
  |             <textual-info-1> SOME TEXTUAL INFO 1 </textual-info-1>
  |             <textual-info-2> SOME TEXTUAL INFO 2 </textual-info-2>
  |          </normal-xml>
  |          <binary>this part will go as MTOM attachment</binary>
  |       <something>
  |    </list-of-something>
  | </my-xml>
  | 

Are there two methods that are invoked in the implementing code. As I 
understand the DataHandler will give me the InputStream to the attachment 
(binary in above xml). But there is no way to get the rest of the xml, or is it?

Regards
/Oskar


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107125
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to