title: What is the easiest way to generate a Java client from an RPC encoded WSDL
body: <p>I’m new to the concept of web services and I’m currently working on a project where I need to retrieve some data from an external application via SOAP. </p>
  
  <p>This application provides an RPC encoded WSDL. I’m currently finding it very difficult to create a client for this service in Java due to RPC being superseded.</p>
  
  <p>The closest I’ve got so far is using JAX-RPC but every time I try to run the ws-compile programme I get an error which states “error code to large”.</p>
  
  <p>I have researched on AXIS 2, and tried to compile it’s WSDL2JAVA but due to RPC encoding I keep getting exception on all the data binding methods.</p>
  
  <p>I was wondering if I can have some advice or a guide on generating Java Clients from RPC encoded WSDLs. What are the steps? What should I consider before I even try to write the client? </p>
  
  <p>I’m currently using netbeans 6.9.1</p>