title: How to call method from URL (browser) using webservice in java?
body: <p>I am new to web project. So I am learning new things related to it. Yesterday I ask question about how to call method as below. Actually I have a webservice having one WADL file in it. 
   <a href="https://stackoverflow.com/questions/10810630/can-i-create-the-object-of-the-class-which-is-running-on-jboss-server">Can I create the object of the class which is running on JBOSS server?</a></p>
  
  <p>From that I got one reply that u use wadl2java tool which will consume your Application.wadl file and generate java stubs. You can use these generated java classes to invoke the methods on the object deployed in JBoss server. </p>
  
  <p>Accordingly I generate Java Stub which is interface from WADL using wadl2java. But now I want to access the methods from URL of browser. How can I call it?</p>
  
  <p>I have tried in this way.... <code>http://localhost:8080/prjname/rest/methodName</code></p>
  
  <p>Is it right way to call method from URL?</p>
  
  <p>Please advice</p>
  
  <p>Thanks</p>