6.5. WSDL binding

发布时间 :2023-12-29 23:00:02 UTC      

The WSDL binding defines the message format and protocol details for web service.

6.5.1. Bind to SOAP

An example of a request-response operation:

Example

<messagename="getTermRequest"><partname="term"type="xs:string"/></message><messagename="getTermResponse"><partname="value"type="xs:string"/></message><portTypename="glossaryTerms"><operationname="getTerm"><inputmessage="getTermRequest"/><outputmessage="getTermResponse"/></operation></portType><bindingtype="glossaryTerms"name="b1"><soap:bindingstyle="document"transport="http://schemas.xmlsoap.org/soap/http"/><operation><soap:operationsoapAction="http://example.com/getTerm"/><input><soap:bodyuse="literal"/></input><output><soap:bodyuse="literal"/></output></operation></binding>

binding an element has two attributes- name properties and type property.

Name attribute definition binding the name, and type property points to the binding , in this case, the “glossaryTerms” port.

soap:binding an element has two attributes- style properties and transport property.

style property can have a value of “rpc” or “document”. In this example, we use document. transport property defines the SOAP protocol to be used. In this example, we use HTTP.

operation Element defines the operators provided by each port.

For each operation, the corresponding SOAP behavior needs to be defined. At the same time, how you must encode the input and output. In this example, weuse “literal”.

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.