title: How to consume REST in Java
body: <p>Using Java tools,</p>
  
  <pre><code>wscompile for RPC
  wsimport for Document
  etc..
  </code></pre>
  
  <p>I can use WSDL to generate the stub and Classes required to hit the SOAP Web Service.</p>
  
  <p>But I have no idea how I can do the same in REST.
  How can I get the Java classes required for hitting the REST Web Service.
  What is the way to hit the service anyway?</p>
  
  <p>Can anyone show me the way?</p>