RE: Attachments Service

2012-12-05 Thread Ockleford Paul (NHS CONNECTING FOR HEALTH)
InOut better suited to attachments that the rpc message handler? Thanks again, Paul From: brando.argue...@gdc4s.com [mailto:brando.argue...@gdc4s.com] Sent: 04 December 2012 16:32 To: java-user@axis.apache.org Subject: RE: Attachments Service Paul, Yes, it is that simple. .what

RE: Attachments Service

2012-12-04 Thread Brando.Arguello
Paul, Yes, it is that simple. .what I did... serviceObject.setDataHandler(new DataHandler(new FileDataSource(file))); Two issues I had were: 1. When uploading / downloading large files (45 Megs + ) the client was timing out. The workaround was to increase the client timeout. this.s

Re: Attachments Service

2012-12-04 Thread Deepal Jayasinghe
What you are doing is correct, and I would recommend you to enable MTOM (if you have not done already). Axis2 has very good support for MTOM. Deepal > > Hi, > > > > I am currently investigating the best way to write a web service using > axis 2 that returns a csv file. I found an example online