The first one did the trick. I have file attachments working nicely for 
upload and download. In which it seems you could send a number of messages 
back and forth with attachments. The examples that use vector I don't think 
handle having a SOAP message body that has data values associated with the 
attachments.

- Earl

At 04:44 PM 3/19/2002 -0500, you wrote:
>If you're trying to send attachments (using SOAP messaging) from the server
>to the client in response to a message request from the client, you can add
>your MimeBodyParts to the SOAPResponseContext you receive on the server.
>You can then pull them out on the client side by doing a
>message.getSOAPResponseContext ().  Just make sure you invoke one of the
>message.receive () methods before attempting to get the response context on
>the client side.
>
>If you're trying to send attachments (using SOAP RPC), I believe some of the
>samples have example code of how to do this (return a vector of datahandler
>objects from your SOAP method, etc.).
>
>If on the other hand, you're trying to have the server initiate the request,
>I'm not sure how you'd go about that without also having a SOAP server on
>the client side.
>
>-----Original Message-----
>From: Earl Bingham [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, March 19, 2002 3:13 PM
>To: [EMAIL PROTECTED]
>Subject: mulit-part SOAP messaging with attachments download to client
>
>
>
>With SOAP2.2 I have a program that can assemble a Message to the server
>with a number of attachements. The problem is if I want to assemble a
>Message back to the client with a number of attachments I am unable to
>receive the message and digest the attachements.
>
>I am thinking I may be able to use a Call object and then the resonse can
>contain a number of attachements.
>
>Has anyone implements this?
>
>   Earl Bingham


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to