Câu hỏi phỏng vấn SOA
Câu hỏi

What are the two attrib...

Câu trả lời

The <port> element in WSDL (Web Services Description Language) has two primary attributes: name and binding.

  1. name: This attribute provides a unique name among all ports defined within the enclosing WSDL document. It is used to identify the port uniquely within the service.

  2. binding: This attribute refers to the binding using the linking rules defined by WSDL. It specifies the binding that the port uses, which includes the protocol and data format specifications for the operations defined in the port type.

Here is an example of a <port> element in WSDL:

xml Copy
<service name="Hello_Service">
  <documentation>WSDL File for HelloService</documentation>
  <port binding="tns:Hello_Binding" name="Hello_Port">
    <soap:address location="http://www.examples.com/SayHello/"/>
  </port>
</service>

In this example:

  • The name attribute is set to "Hello_Port".
  • The binding attribute is set to "tns:Hello_Binding", which links to the binding definition for this...
senior

senior

Gợi ý câu hỏi phỏng vấn

senior

What are the important characteristics of SOAP envelope element?

senior

What are different components of WSDL?

middle

What are the various approaches available for developing SOAP based web services?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào