HI, i Have developed a restful webservice sample application, i want to create a client for the webservice, can anyone tell me how to do this? i was used 开发者_JAVA技巧Rest WebService explorer, but i want to know how to create a client and call the methods ? Please help ?
Since REST is talking HTTP and is language-agnostic, you can use most any language/tooling available. Of course the simplest test bed available to you is the browser itself.
Have a look at these tools:
- http://code.google.com/p/rest-client/
- https://github.com/cloudhead/http-console
- https://tcpmon.dev.java.net/ (proxying is helpful for debugging)
You can also use Resty, which should make accessing your webservices very easy.
https://github.com/beders/Resty
(see Readme for examples)
精彩评论