Hi, Can someone post an example how to obtain file from serivce?
I mean something like this: ..... Client client = Client.getInstance(service); ....... DataHandler dh = service.getFile(file_name_on_server); For a while I have been trying to solve the problem and had no luck so far. Funny thing is that I can replicate XFire MTOM examples where client sends an instance of DataHandler or DataSource to service and receives content as a String. I assume, if these examples run in my environment than I have properly configured my service and client. So, why service.getStringFrom(new DataHandler(new FileDataSource(file_name_on_clien))) works, and DataHandler dh = service.getFile(file_name_on_server) doesn't? You may look at the detailed description of the problem here: http://www.nabble.com/MTOM.-Can-my-webservice-return-DataHandler--tf3607587.html Or, may be you can explain the reason for NullPointerException I am getting? -- View this message in context: http://www.nabble.com/How-to-download-large-file-from-service-side-to-client--tf3632140.html#a10141755 Sent from the XFire - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
