-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2004 16:04
To: [EMAIL PROTECTED]
Subject: RE: Zip files as attachmentsWell, I think so, even if with RPC I would feel safer using Base64 encoded Strings.Luciano-----Original Message-----
From: Neil Blue [mailto:[EMAIL PROTECTED]
Sent: Thursday 26 February 2004 17:03
To: [EMAIL PROTECTED]
Subject: RE: Zip files as attachmentsThanks Luciano,Can I use this with normal RPC parameters too?CheersNeil-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2004 15:21
To: [EMAIL PROTECTED]
Subject: RE: Zip files as attachmentsNeil,you can do this in many different ways. The quickest, in my opinion, is to write an interface representing your web service, something likepublic class mywebservice {receiveZip(byte[] zipfile)}Than1) you generate the wsdl against this interface2) generate the wsdd and the stub code against the wsdl3) deployJust keep in mind that Axis1.1 has memory problems to handle large xml messages. If your zip file is goiing to be big (over 2Mb) you may encounter this memory inefficiency issues.Luciano-----Original Message-----
From: Neil Blue [mailto:[EMAIL PROTECTED]
Sent: Thursday 26 February 2004 16:14
To: [EMAIL PROTECTED]
Subject: RE: Zip files as attachmentsHi, LucianoI would like to send an array of bytes so a non-java client can still use the service. However as long as I can send a generic zip file I don't mind what underlying encoding is used. The problem I have is I don't know how to use any of the non DataHandler serializers or deserialisers for this.ThanksNeil-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2004 15:09
To: [EMAIL PROTECTED]
Subject: RE: Zip files as attachmentsNeil,
which datatype are you planning to use to transfer the zip files?
String or array of bytes?Luciano
-----Original Message-----
From: Neil Blue [mailto:[EMAIL PROTECTED]]
Sent: Thursday 26 February 2004 16:06
To: [EMAIL PROTECTED]
Subject: Zip files as attachments
Hello,
I am trying to use attachments with axis 1.1. I have run the echo example. Now I would like to send an zip file as an attachment without using the java specific DataHandler but I seem unable to find any documentation on using the handlers. Has anyone else done this or could anyone shed some light on this please.
Cheers
Neil
Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.
Title: RE: Zip files as attachments
Thanks
Luciano,
How
can I make the mywebservice example compile with Base64
serializing?
Cheers
Neil
- Zip files as attachments Neil Blue
- RE: Zip files as attachments luciano.fiandesio
- RE: Zip files as attachments Neil Blue
- RE: Zip files as attachments luciano.fiandesio
- Re: Zip files as attachments Joseph Dane
- RE: Zip files as attachments Greg Hess
- RE: Zip files as attachments Neil Blue
- RE: Zip files as attachments luciano.fiandesio
- RE: Zip files as attachments Neil Blue
- RE: Zip files as attachments luciano.fiandesio
- RE: Zip files as attachments luciano.fiandesio