YouTip LogoYouTip

Wsdl Ports

# WSDL Port * * * The **** element is the most important WSDL element. * * * ## WSDL Port __ element is the most important WSDL element. It can describe a web service, the operations that can be performed, and the related messages. You can think of the element as a function library (or a module or a class) in traditional programming languages. * * * ## Operation Types Request-response is the most common operation type, but WSDL defines four types: | Type | Definition | | --- | --- | | One-way | This operation can accept a message but will not return a response. | | Request-response | This operation can accept a request and will return a response | | Solicit-response | This operation can send a request and will wait for a response. | | Notification | This operation can send a message but will not wait for a response. | * * * ## One-Way Operation An example of a one-way operation: ## Example In this example, the port "glossaryTerms" defines a one-way operation named "setTerm". This "setTerm" operation accepts an input message of new term list items, which uses a message named "newTermValues", containing input parameters "term" and "value". However, no output is defined for this operation. * * * ## Request-Response Operation An example of a request-response operation: ## Example In this example, the port "glossaryTerms" defines a request-response operation named "getTerm". The "getTerm" operation requests an input message named "getTermRequest", which contains a parameter named "term", and returns an output message named "getTermResponse", which contains a parameter named "value".
← Wsdl BindingWs Example β†’