If I want to send attachements I just Base64 encode them, send them as a
String and decode them on the other side. Stable and plain simple ...
Stephan
----- Original Message -----
From: "Rich Catlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 9:54 PM
Subject: sending attachments back to the client
> I'm sending this again because I thought I should give a little more
> info. On the client side I attempted to get the responseContext from
> the message as I figured this would be the way to retreive attachments,
> this object was always null. So I tried just printing the contents of
> the response, and I still only got back what I set as the root part of
> the responsecontext of the service.
>
> Thanks for any help.
> Rich Catlett
>
> > I am trying to send attachments back to the client from a soap
> > messging service. Currently I am sending back an XML document as a
> > String, and I do this with the
> > responsecontext.setRootPart(XMLdocument, text/xml); It was my guess
> > that to send attachments I would just do a
> > responsecontext.addBodyPart(bodypart); this however is not working.
> > Is anybody else sending attachments back to the client, if so how?
> > Can anbody help?
> >
> > Rich Catlett
> >
>
>