您好,登錄后才能下訂單哦!
SOAP的請(qǐng)求在Web Service是無(wú)處不在的,像WCF服務(wù)和傳統(tǒng)ASMX asp.net的web Service。如果要測(cè)試SOAP服務(wù)是否好用通過(guò)web編程來(lái)實(shí)現(xiàn)就顯得太過(guò)于復(fù)雜了,下面的腳本片段(snippet)將會(huì)輕而易舉的完成通過(guò)powershell測(cè)試和調(diào)用SOAP服務(wù):
在這里得到的$ret變量中存儲(chǔ)的是System.Xml.XmlDocument對(duì)象,如果需要查看其中的具體內(nèi)容可以通過(guò)Export-Clixml這個(gè)cmdlet將其輸出到本地文件中查看。
作者: 付海軍
出處:http://fuhj02.blog.51cto.com
版權(quán):本文版權(quán)歸作者和51cto共有
轉(zhuǎn)載:歡迎轉(zhuǎn)載,為了保存作者的創(chuàng)作熱情,請(qǐng)按要求【轉(zhuǎn)載】,謝謝
要求:未經(jīng)作者同意,必須保留此段聲明;必須在文章中給出原文連接;否則必究法律責(zé)任
個(gè)人網(wǎng)站: http://txj.shell.tor.hu/
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。