Re: Document Style Service with Attachments

2003-10-24 Thread Andrew Smith
Figured this out yesterday. The server piece is fine. On the server in order to attach documents with axis you just do the following: DataSource ds = new FileDataSource("/tmp/msg.pdf"); AttachmentPart att = new AttachmentPart(new DataHandler(ds)); Message msg = (Message)MessageConte

Document Style Service with Attachments

2003-09-26 Thread Andrew Smith
I have a very simple web service that echos back the xml given that looks like this: public class MessageService { public Document echoDocument(Document doc) throws Exception { return doc; } } On the client I have the various methods setup to retrieve the result vector and pr