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

Reply via email to