What's the difference between and in WSDL?

后端 未结 5 1192
-上瘾入骨i
-上瘾入骨i 2021-01-29 22:25

Both and seem to define an operation and its message. I don\'t quite understand, why are they both necessary?

5条回答
  •  庸人自扰
    2021-01-29 23:13

    Interfaces (wsdl:portType)

    The WSDL portType element defines a group of operations (sometimes known as an interface).

    The operation elements contain a combination of input and output elements. There can be a fault element when you have an output element. The order of these elements defines the message exchange pattern (MEP) (One-way, Request – Response, etc)

    enter image description here

    wsdl:binding

    The WSDL binding element describes the concrete details of using a particular portType with a given protocol.

    enter image description here

提交回复
热议问题