Hi,I had this problem before. SOAP with Attachement basically let you "upload" data files and its response does not allow you get data back as a Mime attachment.
We are using apache soap attachment to upload and download data using WebSphere.
We can send a JavaBean along with a DataHandler to the server to do upload, the Bean can have all the meta data needed for handling this DataHandler. The apache BeanSerializer can handle this.
The question is when we do download, we can get DataHandler back, but how can we send the related meta data back at the same time without having to write a new serializer? (if we have to write a new one, how can we handle the DataHandler like what the BeanSerializer already did?)
Thanks,
-- wei
It's sort of asymmetric process. For me, I deployed both SOAP client and server classes for both sides, let SOAP client (side A)pass the parameters to SOAP server(side B), then SOAP server class(side B) passed parameters to its client class(still side B), then client class(side B) invoke another soap call to sideA.
Side A upload Side B
(soap client) -------> (soap server)
|
download V
(soap server) <------- (soap client)
See illustrate above, hope it helps.
-Daniel