Haven't tried it as an attachment. Of course over the
wire you could just convert it to a string: 

 ByteArrayOutputStream baos = new
ByteArrayOutputStream();
 ...
 new String(Base64.encode(baos.toByteArray()));

And of course wsdl has a base64 type - I recently sent
a zip as base64 with wsdl as I needed error handling. 


HTH, 
Robert (clearing my iksrazal inbox). 
http://www.braziloutsource.com/

--- Argo <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Is it possible specify to
> Content-Transfer-Encoding:base64 for ws
> attachment with Axis 1.3?
> 
> I have a generated client class with method with
> DataHandler.
> DataHandler DataSource is simple
> ByteArrayDataSource. Bytes are encoded
> as base64. 
> 
> 
> -- Argo
> 


"None are more hopelessly enslaved than those who falsely believe they are 
free. -- Goethe"

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to