How to generate objects from a REST service?

I work with a REST service provided by RESTeasy. This is REST, so there is no WSDL, right? Does this mean that I myself must write all the entities and independently disassemble them?

If it is a leisure service, I can just download the WSDL and then generate a client from it. How can I do this using REST, which is fed into an XML file as XML?

I really do not see any advantage in REST if it does not have a way to generate a client and it does not provide any public entity specifications.

Thank you for your help.

+3
source share
1 answer

, REST, WSDL, SOAP. , . Jax-RS JSON/XML , , SOAP, , SOAP .

+3

All Articles