"code show how I should have been doing this in the first place". You can always 
disagree with me
and post a bug :)

-- dims

--- [EMAIL PROTECTED] wrote:
> Thanks, dims.  I'll give it a whirl.
> 
> Was my initial approach correct but stopped by a bug (which I should
> report), and is the zipped code you sent a workaround until the bug is
> fixed, or does your code show how I should have been doing this in the first
> place?
> 
> Thanks,
> 
> . . . Phil
> 
> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 16, 2003 7:21 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: Problem returning byte array in SOAP attachment
> 
> 
> 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
> 
> 


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

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

Reply via email to