This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Argument passing in Restful webservices

 
Balkishore pandey
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Freely receive, freely give.


 
Balkishore pandey
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for replying mate!!
 
Always look on the bright side of life. At least this ad is really tiny:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!