In the samples/message directory, there is an example of how to send and return XML. The example operation uses a Vector and an array of Element objects, but you can send and receive Document objects just as easily.
Be sure to notice in the deploy.wsdd file that provider is "java:MSG", not "java:RPC".
But if what you are sending is an actual XML file (not a Document object that you have built up dynamically), the simplest way is to skip the web service approach altogether and just do a file download. Or you can read the file into a String and return that, avoiding the overhead of creating a Document out of a file and then serializing the Document back into (essentially) the same text that was in the file to begin with.
Steve Gollery
[EMAIL PROTECTED]
Amit Khurana wrote:
Hi Can anybody tell me how I can send an xml file using AXIS. In my last message by mistake I had written word SOAP instead of AXIS. TIA Amitk
