Take a look at the mime sample.

Rich Catlett

Huong Phan Thu wrote:

>Hi,
>Have I missed any follow-up messages? Could you please let me know how
>to send XML file as attachment inside a message?
>Thanks
>
>------------------------------------
>Huong Phan
>Email: [EMAIL PROTECTED]
>
>
>|-----Original Message-----
>|From: Rich Catlett [mailto:[EMAIL PROTECTED]]
>|Sent: Thursday, August 09, 2001 11:35 PM
>|To: [EMAIL PROTECTED]
>|Subject: Re: Best way to send XML over Soap?
>|
>|
>|I am doing the same thing, this is what I have found.  You can 
>|send the 
>|XML as a string, but if that String gets to large there can be 
>|performance problems on the order of a minute or two.  Sending the XML 
>|in the body of the Envelope you have to unmarshall it into an envelope 
>|and then you have to marshall it back to the XML on the other side, 
>|which is extra work if your dealing with XML already, and it 
>|can be kind 
>|of tricky if your new to XML as it is not very well documented, 
>|especially if you extract the body of the envelope, which should be 
>|where you passed the XML.  The final option is to send the XML as an 
>|attachment inside a message, no marshalling and unmarshalling, 
>|you don't 
>|have to deal with serializing and deserializing a String, and this is 
>|the one I have decided to use.
>|
>|Rich Catlett
>



Reply via email to