



免費(fèi)預(yù)覽已結(jié)束,剩余1頁可下載查看
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
學(xué)習(xí)資料收集于網(wǎng)絡(luò),僅供參考 Project 1 SOAP Extensions - 網(wǎng)頁服務(wù)程序構(gòu)件設(shè)計(jì)指要 詹叔浩 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 document 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 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 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 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 AlgorithmReferring 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 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 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 intercepting 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 rather 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 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 client 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 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 encapsulate 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 services 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. 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 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? There 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 【正版授權(quán)】 IEC 60068-2-83:2025 RLV EN Environmental testing - Part 2-83: Tests - Test Tf: Solderability testing of electronic components for surface mounting devices (SMD) by the wetti
- 【正版授權(quán)】 ISO/IEC 27017:2015 AR Information technology - Security techniques - Code of practice for information security controls based on ISO/IEC 27002 for cloud services
- 2025至2030中國電池包裝制品行業(yè)深度研究及發(fā)展前景投資評估分析
- 2025至2030中國特威茲勒行業(yè)發(fā)展趨勢分析與未來投資戰(zhàn)略咨詢研究報(bào)告
- 企業(yè)消防安全專題培訓(xùn)大綱
- 餐飲服務(wù)店長培訓(xùn)
- 企業(yè)數(shù)字化辦公解決方案的實(shí)踐與思考
- 智慧城市公共服務(wù)中的公共安全體系構(gòu)建研究
- 商業(yè)策略與教育品牌危機(jī)的預(yù)防措施
- 智慧城市大數(shù)據(jù)驅(qū)動的商業(yè)決策分析
- 計(jì)劃開、竣工日期和施工進(jìn)度網(wǎng)絡(luò)圖112
- 2024初中數(shù)學(xué)競賽七年級競賽輔導(dǎo)講義七年級專題01 質(zhì)數(shù)那些事
- JJG 693-2011可燃?xì)怏w檢測報(bào)警器
- 德宏傣族景頗族自治州緬籍“三非”人員管理問題研究的開題報(bào)告
- 手繪pop海報(bào)制作
- 干濕交替環(huán)境下混凝土受硫酸鹽侵蝕劣化機(jī)理
- 統(tǒng)計(jì)職業(yè)道德規(guī)范內(nèi)容和要求
- GB/T 16886.12-2023醫(yī)療器械生物學(xué)評價(jià)第12部分:樣品制備與參照材料
- 糞便無害化處理廠建設(shè)方案
- 智慧的光芒普照每位學(xué)生 論文
- 銷售行業(yè)跑業(yè)務(wù)計(jì)劃書
評論
0/150
提交評論