Hi All,
I have gone through internet and this forum to find out how to retrieve
the attachment, if client is using axis1.1 to create the attachment.
But no luck.
Sample code.
axis 1.1 client :-
call.setProperty(Call.ATTACHMENT_ENCAPSULATION_FORMAT, attachmentType);
DataHandler dh = new DataHandler(new FileDataSource("/tmp/file.doc"));
AttachmentPart attachmentPart = new AttachmentPart(dh);
attachmentPart.setContentId(zipFile.getName());
call.addAttachmentPart(attachmentPart);
SOAPEnvelope returnedEnvelope = call.invoke(requestEnvelope);
How can I write the server code to fetch the attachment, without
modifying my client. The sample code present is only showing how to
retrieve attachment if it is created using axis2.0 + MTOM client.
Sorry for those incomplete messages.
Best Regards,
-Prasad
- Attachment retrieving in case axis2 based service and axi... Prasad Chaudhari
- Re: Attachment retrieving in case axis2 based servic... Prasad Chaudhari
- Attachment retrieving in case axis2 based service an... Prasad Chaudhari
