Niket, Check the mime sample that comes with Apache SOAP.
Scott Nichol ----- Original Message ----- From: "Niket Anand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 1:00 AM Subject: Re: sending files through SOAP > Hello Jean, > I liked your suggestion regarding sending files through SOAP. You mentoned > about DataHandler. > It would be great help if you can send me some code snippet or any example > so that it would be more clear to me. > Thanks, > Niket > ----- Original Message ----- > From: "Jean-Louis Vila" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 10, 2002 6:52 PM > Subject: RE: sending files through SOAP > > > > Hi, > > > > The best way is to use SOAP with atachment. > > In apache SOAP 2.2 or Axis, you can do that > > automatically by specify a DataHandler as > > a parameter. The SOAP package will build the mime > > multipart message. > > > > In the server object, you'll receive the file > > as a DataHandler. > > > > In my opinion, it's the best way. > > Take care if you use .NET because it does not > > yet support SOAP with attachment > > regards > > Jean-Louis > > > > > > -----Message d'origine----- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] > > Envoye : mercredi 10 juillet 2002 09:27 > > A : [EMAIL PROTECTED] > > Objet : sending files through SOAP > > > > > > > > > > Hi, > > > > I'm want to transfer .xml files or .txt files from one server to another. > > > > I would like to do it through SOAP. > > So my question is: what serializeable Java type can I > > use to > > send a file through SOAP ? > > Thank you. > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>