How you define Binding in WSDL?
Submitted by: AdministratorBasically we use binding in WSDL to define format of messages and detailed information about protocol of web services.
I have given you binding consist of two attributes.
these are name attribute and type attribute(name is used to define binding name where as type is used to define binding port.
I case of SOAP binding it has two attribute. These are style and transport attribute.
Example:
<message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>
<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>
<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>
<binding type="glossaryTerms" name="b1">
<soap:binding style="document"
transport="http://xyzsoap.org/soap/http" />
<operation>
<soap:operation
soapAction="http://soapexample.com/getTerm"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
Submitted by: Administrator
I have given you binding consist of two attributes.
these are name attribute and type attribute(name is used to define binding name where as type is used to define binding port.
I case of SOAP binding it has two attribute. These are style and transport attribute.
Example:
<message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>
<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>
<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>
<binding type="glossaryTerms" name="b1">
<soap:binding style="document"
transport="http://xyzsoap.org/soap/http" />
<operation>
<soap:operation
soapAction="http://soapexample.com/getTerm"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
Submitted by: Administrator
Read Online WSDL Job Interview Questions And Answers
Top WSDL Questions
☺ | How you define Binding in WSDL? |
☺ | What is SOAP, UDDI and WSDL? |
☺ | Can you define basic element of WebServices and explain any one from them? |
☺ | What does WSDL stand for? |
☺ | What is WSDL (Web Services Description Language)? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |