Joe Desbonnet wrote:
> 
> I've been able to add attachments to the SOAP request at the client end and
> sucessfully access that data on the server. Now I need to send a binary
> response (I'm retrieving JPEG images).
> 
> I assumed that there was something I could do with the SOAPContext object to
> enable me to do this. I've tried
> "soapContext.addBodyPart(responseBodyPart);" but that does not seem to work.
> 
> Maybe I'm going about this the wrong way (?) The SOAPContext object looks
> like the obvious way to manipulate and get info the the incoming request and
> outgoing reply.
> 
> Can anyone point me to a code example that adds an attachment to the
> response?
> 
> Thanks,
> 
> Joe.

Look at the Server.put method in the example that I attached to
my previous response.  That server method returns a binary file
to the client, based on a client request for a specific filename.

-Chris

Reply via email to