WSDL vs REST Pros and Cons
问题 Related: Why would one use REST instead of Web services? When deciding whether to implement a web service using SOAP or REST (by which I mean HTTP/XML in a RESTful manner) what should I be aware of and what should I be thinking of? I presume that this isn't a one size fits all thing so how do I choose which to use. 回答1: The two protocols have very different uses in the real world. SOAP(using WSDL) is a heavy-weight XML standard that is centered around document passing. The advantage with this