The mime samples use attachments. You could send a serialized Java object. The Content-Type MIME header could be something like application/octet-stream. The receiver of such an attachment would have to know by context (i.e. because of the method that is called) that the attachment contained a serialized Java object. Creating your own content type would not be of any benefit, I think, because the recipient would have to know about the "magic" value you have created, which really is no better than knowing the content based on context.
Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Raj Thakkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 10:44 PM Subject: Soap Attachment > Hi all, > I am relatively new to Apache SOAP, i had some experience with SAAJ. > Could someone guide me how to send an attachment with the SOAP message > using Apache SOAP. Or is there any example (in samples/) that comes > with the SOAP package > Also, is it possible to send a serialized object in Java as a SOAP > attachment, what would be the MIME header for it be? > > _________________________________________________________________ > Get less junk mail with ninemsn Premium. Click here > http://ninemsn.com.au/premium/landing.asp > >