what is the difference between XSD and WSDL

前端 未结 8 2057
忘掉有多难
忘掉有多难 2020-12-12 09:41

What is the difference between an XML Schema and WSDL?

The difference I noticed is that WSDL contains XSD and in

8条回答
  •  时光取名叫无心
    2020-12-12 10:19

    If someone is looking for analogy , this answer might be helpful.

    WSDL is like 'SHOW TABLE STATUS' command in mysql. It defines all the elements(request type, response type, format of URL to hit request,etc.,) which should be part of XML. By definition I mean: 1) Names of request or response 2) What should be treated as input , what should be treated as output.

    XSD is like DESCRIBE command in mysql. It tells what all variables and their types, a request and response contains.

提交回复
热议问题