简体   繁体   中英

Rest service with WCF and wsdl definition

i read on the net that there is no wsdl definition for REST services and also that in WCF we can use webHttpBinding to create restful services. I downloaded SOA cleaner software to test my services and its screen confused me a littel. Plz have a look at following shot 在此处输入图片说明 Now look that webHttpBinding is selected which is supposed to be a REST service and this software is asking for wsdl definition of this service. However if i switch to second option which is Plain Http(s) /REST it only requires a url to communicate with that service. Does REST have a wsdl or doesn't webHttpBinding provide REST service?

REST Services can only be described by by WADL or WSDL 2.0 which is not supported by WCF. This stackoverflow thread my help you out.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM