开发者

Tool to generate request body of a rest ws?

I have a rest service that can be reached with a post request.

But There's many complex types as parameters, does it exists some tools that can generate the body request for me ?

Thanks for your help.

Best regards开发者_开发知识库


Tim, you might want to look at the Sun implementation of JAX-RS (called Jersey). It comes with a client side API and makes use of the standard JAX-RS MessageBodyWriter classes. There is also support for JAXB-based generation of XML from domain objects.

Jersey: http://jersey.java.net/

Besides that: yes, you should provide more details to receive a better answer. I also have a hunch that your REST Web service might not be that RESTful after all given that you say it 'can be reached with POST'. That suggest other methods are not supported - is that true?

Jan

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜