This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Argument passing in Restful webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Argument passing in Restful webservices" Watch "Argument passing in Restful webservices" New topic
Author

Argument passing in Restful webservices

Balkishore pandey
Greenhorn

Joined: Apr 19, 2012
Posts: 19
Dear JavaRanch members,
I have a small query, in SOAP i will use the following code to pass argument to a webmethod function


Where interface1_name is the argument i pass. SOAP has @webparam for this sake.

But how can i do the same in Restful GET method. Does Rest has something similar to Webparam, if so could someone give me any example?
Any help would be very much appreciated.
Thanks a ton in advance. Cheers!
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 415
    
    3
Freely receive, freely give.


Balkishore pandey
Greenhorn

Joined: Apr 19, 2012
Posts: 19
Thank you very much for replying mate!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Argument passing in Restful webservices