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

前端 未结 4 1929
陌清茗
陌清茗 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:16

    Actually you can auto-generate a SOAP like stub for JAX-RS but it uses WADL which I believe is a WSDL variant.

    Apache CXF does this and if that doesn't work for you it will also automatically create SOAP endpoints and SOAP clients.

提交回复
热议问题