How to generate RESTful client in JAVA for REST defined in WSDL

前端 未结 4 1938
陌清茗
陌清茗 2020-12-03 13:14

I know that WSDL is for defining SOAP based web services but in most of the WSDLs I saw on net, in the WSDL is defined also RESTful \"web service\"-http:binding.

To

4条回答
  •  广开言路
    2020-12-03 13:37

    I've never heard of anyone using WSDL for generating REST clients. WADL yes, but not WSDL.

    Anyway, generating clients for REST services does not make sense. If you think you want to do that then you are missing the benefits of REST and trying to follow the REST constraints is going to make you do extra work for nothing.

提交回复
热议问题