title: Manually creating proxy for Web Service
body: <p>I have to communicate (using .NET) with a web service running on Axis 1.2. Using two .NET tools and the WSDL I have created C# proxies however I ran into problems such that:</p>
  
  <p>1) WSDL.exe created a proxy which lacks input parameters for methods. e.g. if there should be such a method:</p>
  
  <pre><code>AReturnType AMethod(AnInputType);
  </code></pre>
  
  <p>the created proxy had such a method:</p>
  
  <pre><code>void AMethod();
  </code></pre>
  
  <p>2) I've read that instead of WSDL.exe, SVCUTIL.exe is recommended. So I've created the proxies with SVCUTIL, however ran into the <a href="https://stackoverflow.com/questions/8017700/invoking-a-java-axis-web-service-from-net-the-return-null-issue">infamous problem</a> of NULL returned objects. Unfortunately I could not find any suitable solution.</p>
  
  <p>So I am willing to do the setup manually. Here's what I have:</p>
  
  <ul>
  <li>SoapUI parses the WSDL well, can inspect SOAP/XML requests/responses. </li>
  <li>Axis WSDL2JAVA generates proper Java code, and it works well</li>
  <li>Sending XML/SOAP requests with HttpWebRequest generates proper XML/SOAP responses. </li>
  <li>I have tried generating XSD and C# objects using XSD.EXE tools and serializing XML responses (obtained with previous step) into those objects. </li>
  </ul>
  
  <p>So what do you suggest? Is there a way to manually create the proxy somehow? Or can generated Java code help me somehow?</p>