




下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、 Project 1 SOAP Extensions - 網(wǎng)頁服務(wù)程序構(gòu)件設(shè)計指要 詹叔浩 The project requires application developers to add credit card payment feature into an existing retail sales system for a chain store. Step by step, the document highlights how to develop application of SOAP XML Web Services and SOAP Web Services. And do
2、cument will issue important details if you work on a complex system which contains both Web Services and XML Web Services.KEY WORDS:Web Services, XML Web Services, SOAP, SOAP Extensions, SOA Headers Model of Client and Server SOAP Communication WITHOT SOAP Extensions Client SideServer SideReferring
3、to the figure above, we will add feature of processing SOAP message to the below existing SOAP Web Services without SOAP Extensions. Also, the SOAP massage includes costumer credit card info such as card number.· Asynchronous call to a Web method does not block other callings while this call is
4、 waiting for a result. Whenever developer creates a proxy class on client side, .NET automatically enables asynchronous calls to Web methods.· Serialization processes SOAP message and converts one or more message objects to their XML representation.· De-serialization processes SOAP message
5、 and converts one or more message objects to their binary representation.· SOAP Request means a SOAP message sent from client to server for invoking a Web method.· SOAP Response means a SOAP message sent from server to client with the results of a Web method.$ 1 Solution Model and Algorith
6、mReferring to the figure below, the black disks indicate where SOAP Extensions perform.· The XML Web Service is named LookUpService.· The service LookUpService exposes a Web method named RetrieveCardInfo.· The method RetrieveCardInfo takes credit card info from SQL server database and
7、 returns it.· We capture and inspect and modify SOAP message in Web method RetrieveCardInfo.Model of Client and Server SOAP Communication WITH SOAP Extensions $ 2 Three Major Coding Steps1. We create HTTP and SOAP XML web service using .NET Framework (selecting Console Application).2. We derive
8、 SOAP Extensions classes from SoapExtension base class. Thus, the classes expose and implement the following methods: * Getlnitialize (to be called one time when a soap extension is first loaded), * lnitialize (to be called each time for each calling SOAP web service); * ChainStream (for interceptin
9、g actual soap message stream), and * ProcessMessage (to be called with actual request and response).3. We intercept a SOAP message and call method EncrptMessage after serialization stage and call method DecryptMessage before deserialization stage.$ 3 Technical NotesWhy do we select SOAP Extensions r
10、ather than SOAP headers in this project?This project requires only capture and procedure of confidential SOAP messages instead of security concerns such as authentication (Ex: user name and password for "log-in") and authorization (Ex: application role) and encryption (Ex. converting text
11、to secret code).· SOAP extensions are a class to be invoked during the serialization or de-serialization of SOAP message and to allow developer to insert customer-own code into SOAP request and response process loop. SOAP extensions are usually deployed in pairs with matching the extension on c
12、lient and server. · SOAP headers are a class to be derived from SoapHeader base class and represent the data in a particular SOAP header. SOAP headers handle authentication, encryption, and signing directly in SOAP messages.$4Whole Picture of Web Services and XML Web ServicesShowing as the Fig
13、below, suppose an object of client application interacts with one object of another client application over internet and server of web services. Referring to the Sketch Figure on the last page, we discuss the technical terms below, (示意圖)· SOAP (Simple Object Access Protocol) is a standard to en
14、capsulate messages between Web services server and Web services client when the message objects (as well as methods and properties) are transmitted as XML format through HTTP channel. Remember, message objects cannot be invoked! · Disco is a Microsoft standard to discover documents of Web servi
15、ces on server by directory connecting to the server. · UDDI (Universal Description, Discovery, and Integration) is a multi-vendor standard to discover code details (documents, classes, methods, and so on) of the Web services and other online business services by directory via the Internet.·
16、; WSDL (Web Service Description Language) is a standard to describe the interface between the Web services and the Web services server. In fact, WSDL let developer to retrieve information on the classes and methods supported by a particular Web service.· Disco.exe is a tool related to Disco to
17、discover documents of Web services on server.· Wsdl.exe may create Proxy Class connected to Web Reference for communicating with XML Web service. Also, a Local Proxy Class connected to Web Reference may be created for communicating with Web service. When do we select the techniques Wsdl.exe? Th
18、ere are both of Web service and XML Web service in the existing internet system. And a developer may add new-both services to the existing system. · SOAP Proxy Tool is used to test and debug Web service without executing Web service client application.· XWL wire format is the structure of actual XML file message passed between Web services server and Web services client. By using attributes, .NET allows d
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 網(wǎng)絡(luò)劇替身演員簽約合同
- 國際旅游意外傷害及疾病保險代理協(xié)議
- 影視化妝間租賃合同(含化妝師團隊及化妝道具)
- 生物樣本庫數(shù)據(jù)安全與隱私保護協(xié)議
- 精準(zhǔn)營銷電商運營培訓(xùn)講師招聘合同
- 國際貨運保險補充協(xié)議
- 城市智慧交通物聯(lián)網(wǎng)平臺建設(shè)與運維服務(wù)合同
- 高效工業(yè)儀器校準(zhǔn)實驗室租賃與快速校準(zhǔn)服務(wù)合同
- 智能教育機器人編程控制器租賃與教育資源共享及推廣協(xié)議
- 軍婚涉外子女教育費用支付與監(jiān)管協(xié)議
- 人教版(2019)選擇性必修第三冊Unit 4 Adversity and Courage 單詞講解課件
- 《股指期貨交易》課件
- 2024-2025年全國初中化學(xué)競賽試卷及答案
- 機器可讀標(biāo)準(zhǔn) 能力等級模型 征求意見稿
- 新生兒出血性疾病處理護理課件
- 企業(yè)的經(jīng)營指標(biāo)分析報告
- 加油站安全技能競賽與實操演練
- 《六尺巷的故事》課件
- 變電站通信中斷處理經(jīng)驗分享
- 農(nóng)藝師考試試題及答案(種植業(yè)卷)
- DB4409-T 38-2023 奇楠沉香栽培技術(shù)規(guī)程
評論
0/150
提交評論