WMB_NOTE_學習筆記8

通過沿著消息路徑經過不同的端點,SOAP 消息可從某個發送者傳播到某個接收者。並非 SOAP 消息的所有部分均打算傳送到 SOAP 消息的最終端點,不過,另一個方面,也許打算傳送給消息路徑上的一個或多個端點。

SOAP actor 屬性可被用於將 Header 元素定址到一個特定的端點。

語法

soap:actor=”URI”

實例

<?xml version=”1.0″?>

<soap:Envelope

xmlns:soap=”http://www.w3.org/2001/12/soap-envelope”

soap:encodingStyle=”http://www.w3.org/2001/12/soap-encoding”>

<soap:Header>

<m:Trans

xmlns:m=”http://www.w3school.com.cn/transaction/”

soap:actor=”http://www.w3school.com.cn/appml/”>234</m:Trans>

</soap:Header>


</soap:Envelope>

 

十、    WSDL


1
什麼是 WSDL?

    WSDL 指網路服務描述語言

    WSDL 使用 XML 編寫

    WSDL 是一種 XML 文檔

    WSDL 用於描述網路服務

    WSDL 也可用於定位網路服務


2
WSDL 文檔結構

WSDL 文檔是利用這些主要的元素來描述某個 web service 的:

元素

定義

<portType>

web service 執行的操作

<message>

web service 使用的消息

<types>

web service 使用的數據類型

<binding>

web service 使用的通信協議

一個 WSDL 文檔的主要結構是類似這樣的:

<definitions>

 

<types>


definition of types……..

</types>

 

<message>


definition of a message….

</message>

 

<portType>


definition of a port…….

</portType>

 

<binding>


definition of a binding….

</binding>

 

</definitions>

 

 

 

 

 

 

 

 

十一、集群負載均衡

 

1、首先在本地建立四個隊列管理器:T1,T2,T3,T4,偵聽埠為2001200220032004


2、新建一個隊列管理器集群MYCLUSTER

選擇要添加的完全存儲庫QM,通常MQ集群中至少有兩個完全存儲庫,這裡我們選擇T1,T2為完全存儲庫,T3,T4為部分存儲庫。


以下文章點擊率最高

Loading…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營