1.

What Is A Wsdl? Explain Its Structure?

Answer»

WSDL is a XML based language for describing web services and how to access them. The major elements in wsdl are.

<types> the data types USED by the WS

<message> the messages used by the WS

<porttype> operations performed by the WS

<binding> the COMMUNICATION protocols used by the WS.

eg:-  <message name ="getTermRequest">

<PART name = "term" type ="xs:string">

</message>

<message name ="getTermResponse">

<part name = "value" type ="xs:string">

</message>

<portType>

<operation name ="getTerm">

<input message = "getTermRequest"/>

<output message = "getTermResponse"/>

</operation>

</portType>

WSDL is a xml based language for describing web services and how to access them. The major elements in wsdl are.

<types> the data types used by the WS

<message> the messages used by the WS

<porttype> operations performed by the WS

<binding> the communication protocols used by the WS.

eg:-  <message name ="getTermRequest">

<part name = "term" type ="xs:string">

</message>

<message name ="getTermResponse">

<part name = "value" type ="xs:string">

</message>

<portType>

<operation name ="getTerm">

<input message = "getTermRequest"/>

<output message = "getTermResponse"/>

</operation>

</portType>



Discussion

No Comment Found