Hi all, This is my first mail to the list as I am new to axis2 development. I am using axis2 and resin 2.1.0, and I have developed a basic web service which allows me to retrieve information from the database using basic http parameters as arguments to web service calls e.g.
http://localhost:8080/axis2/services/myservice/getPerson?db=myDb&personI D=10 I would now like to write a method to upload a zip file from a client to the server using a web service call convention like: http://localhost:8080/axis2/services/myservice/uploadZip?path=c:\data\xm l.zip Which takes the file from the client machine and dumps it on the server. This file will then be unzipped at the server end and processed to upload XML to a database. I am using AXIOM for my web service methods to process all the web service calls e.g. public OMElement uploadZip(OMElement element) throws XMLStreamException { QName qn = new QName("path"); OMElement e = element.getFirstChildWithName(qn); String pathToZip = e.getText(); // missing implementation - what goes here? } ...however I am completely mystified how I can implement this service to actually get the file from the client and put it on the server? i.e. how can my uploadZip method get the file from the client for the server to process? I can't find any examples anywhere on how to do this, therefore any help/advice would be gratefully received! Many thanks in advance, Antony
