Generating XML files has nothing to do with web services. SOAP-based shared web services exchange messages written in XML. Therefore, to invoke the web service, you will need to create an XML document that implements some XML schema and sends the XML document to the server address. And you don’t need files, usually XML documents are created in memory and not written to files.
Apache Axis2 is a fairly powerful library that takes care of most of the marshalling / decoupling and communication tools.
source
share