title: Web Service Implementation - Receive a file from the client
body: <p>I am trying to implement a web service in Java to receive a file from my client application which is implemented in .Net. But, I am unable to implement the Java web service. I tried a lot to get any example program. But, I didn't get it.</p>
  
  <p>My main objectives is:</p>
  
  <ol>
  <li>I will browse and send a file using my .Net client software</li>
  <li>My Java web service will be able to receive that file</li>
  <li>After receiving that file, I will do some processing using that file and generate a new file.</li>
  <li>Now, I will have to return that new file to my .Net client again</li>
  </ol>
  
  <p>Simply,</p>
  
  <p>Input: My web method will have to receive a file
  Output: My web method should return a file</p>
  
  <p>Below are my local environment details:</p>
  
  <p>Apache Tomcat 7, Axis 2, Eclipse, JRE 6</p>
  
  <p>Can anybody help me how to write that web method in my Java web service?</p>