A Port Type in WSDL is a set of related operations. Operations are like function calls. They have operation names and parameters: The parameters are input and output messages.
Sample Operations:
createEmployee(xxx)
deleteEmployee(yyy)
Thus, the port type is a means of bundling several operations together so that they may be treated as a single unit.
|
Sample Port Type:
Employee
> CreateEmployee(xxx)
> DeleteEmployee(yyy)
Employee
(Employee is the port type)
A Port Type is then ‘bound’ to a service provider by relating it to a binding. This allows one to provide the a single statement to define the binding for many operations rather than having to bind each operation individually.
|