Home | | Web Technology | WSDL portType Element

Chapter: Web Technology : Web Services

WSDL portType Element

can combine one request and one response message into a single request/response operation. This is most commonly used in SOAP services. A portType can define multiple operations.

WSDL portType Element

 

<portType> can combine one request and one response message into a single request/response operation. This is most commonly used in SOAP services. A portType can define multiple operations.

 

Lets take a piece of code from the Example: <portType name="Hello_PortType"> <operation name="sayHello">

 

<input message="tns:SayHelloRequest"/> <output message="tns:SayHelloResponse"/> </operation>

 

</portType>

 

The portType element defines a single operation, called sayHello.

 

The operation itself consists of a single input message SayHelloRequest

 

The operation itself consists of a single output message SayHelloResponse

 

tns prefix indicates a namespace called targetNameSpace

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Web Technology : Web Services : WSDL portType Element |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.