I need to develop a webservice to accept xml files and send string as response. I am using weblogic 10.0. So my thoughts are to use JAX-RPC with rpc literal binding and use mime attachments for xml files. I will create a wsdl and generate java class from wsdl and add the implementation in the java class generated. Please correct me if Iam wrong or let me know if there is any other way to implement the same. I am using webservices for first time. and my sample wsdl is
Can't you use JAX-WS?
Attaching files to SOAP messages using SwA (SOAP with Attahcments) may provide a solution to your problem. If you could use MTOM, in order to compress the attachments, there may be gains to be made, especially if you are to send large files. The problem is that, as far as I know, JAX-RPC does not support MTOM.