axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject RE: Problem returning byte array in SOAP attachment
Date Wed, 16 Jul 2003 12:20:37 GMT
Phil,

See enclosed zip file.

-- dims

> Hi,
>
> I've been able to return strings in SOAP attachments, but I haven't been successful \
> returning a byte array.  I wrote in previously about this problem because I was \
> getting error messages such as "javax.activation.UnsupportedDataTypeException: no \
> object DCH for MIME type application/octet-stream".  It was suggested that I try \
> running with the latest build from CVS because Axis release 1.1 had a problem with \
> byte arrays in attachments.  So I'm running with the July 9 build.  With this build,
\
> I no longer get the UnsupportedDataTypeException errors, but now I get no attachment
\
> in the response message.
>
> Here's the simple example I used to get a string returned in an attachment.  Then a \
> few small changes to return a byte array.  I would appreciate it if someone could \
> detect where I'm going wrong with this approach.
>
> Thanks!
> 
>. . . Phil

=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Mime
View raw message