没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
1
Building XML Web Services for the Microsoft .NET Platform
by Scott Short
ISBN: 0735614067
Microsoft Press © 2002 (426 pages)
Understand how to build robust, high-performing business solutions for the Web by exploiting protocols and tools
such as SOAP, WSDL, UDDI, and XML.
For OR Forum
2
Introduction
............................................................................................................10
Whom This Book Is For.........................................................................................10
How This Book Is Organized...............................................................................10
If You Are in a Hurry...............................................................................................11
System Requirements ...........................................................................................11
The Companion CD................................................................................................12
Support........................................................................................................................12
Chapter 1: Why Web Services?
........................................................14
Overview.....................................................................................................................14
Web Services Building Blocks ............................................................................16
Web Services Design Decisions........................................................................17
Choosing Transport Protocols...............................................................................17
Choosing an Encoding Scheme............................................................................18
Choosing a Formatting Convention......................................................................18
Choosing Description Mechanisms......................................................................19
Choosing Discovery Mechanisms ........................................................................20
What’s Missing from Web Services?
................................................................20
Summary ....................................................................................................................20
Chapter 2: Creating a Basic Web Service
..............................22
Overview.....................................................................................................................22
A Simple Commerce Application.......................................................................22
Creating a Web Form .............................................................................................22
Creating a Payment Web Service
........................................................................25
Updating the Order Web Form..............................................................................27
The Web File Share Application ........................................................................29
Creating the WebFileShare Web Service............................................................29
Creating the WebFileUtil Program ........................................................................31
Summary
....................................................................................................................35
Chapter 3: SOAP
.............................................................................................37
Overview.....................................................................................................................37
Anatomy of a SOAP Message ............................................................................38
SOAP Actors ............................................................................................................39
The Header Element...............................................................................................39
The Body Element...................................................................................................42
Using SOAP RPC Messages..............................................................................44
SOAP Encoding.......................................................................................................46
Simple Types ...........................................................................................................47
Compound Types ....................................................................................................47
Passing Parameters by Reference.......................................................................55
Protocol Binding.......................................................................................................61
3
Summary ....................................................................................................................63
Chapter 4: XML Schema
..........................................................................64
Overview.....................................................................................................................64
Describing XML Documents................................................................................65
Built-In Datatypes ....................................................................................................66
Integers.....................................................................................................................67
Strings .......................................................................................................................67
Binary Data...............................................................................................................68
Namespaces.............................................................................................................70
targetNamespace Attribute ....................................................................................70
xmlns Attribute.........................................................................................................71
schemaLocation Attribute......................................................................................73
noNamespaceSchemaLocation Attribute............................................................74
XML Schema and XML Schema Instance Namespaces ..................................74
Element Definitions.................................................................................................75
Custom Datatypes...................................................................................................75
Simple Types ...........................................................................................................76
Complex Types ........................................................................................................81
Element and Attribute Groups...............................................................................88
Namespace Scoping...............................................................................................89
Polymorphism
..........................................................................................................91
Restricting Inheritance............................................................................................95
Summary ....................................................................................................................97
Chapter 5: Using WSDL to Document Web Services
..........................................................................................................................................100
Overview...................................................................................................................100
WSDL Document Syntax....................................................................................100
definitions Element................................................................................................101
types Element ........................................................................................................102
message Element..................................................................................................104
portType Element ..................................................................................................106
binding Element.....................................................................................................108
service Element.....................................................................................................110
Extensibility Elements
...........................................................................................111
SOAP Extensions ..................................................................................................111
HTTP GET/POST Extensions .............................................................................115
import Element.......................................................................................................121
Documentation.......................................................................................................122
The Calculator Web Service WSDL Document..........................................123
Summary ..................................................................................................................128
Chapter 6: ASP.NET
..................................................................................130
Overview...................................................................................................................130
Creating an ASP.NET Web Service...............................................................130
4
Transport Protocols and Bindings...................................................................136
Web Service Documentation.............................................................................138
Raising Errors
.........................................................................................................142
SOAP Encoding Styles........................................................................................144
Encoding References ...........................................................................................147
Interface Inheritance.............................................................................................151
Managing State......................................................................................................155
Session State.........................................................................................................156
Application State....................................................................................................160
Defining and Processing SOAP Headers.....................................................165
Processing Unknown Headers............................................................................172
Using SOAP Extensions.....................................................................................174
SOAP Extension Attributes ..................................................................................174
SOAP Extension Class.........................................................................................175
Using the WSDL Utility to Generate Proxy Code ......................................189
Proxy Class ............................................................................................................191
Cookies ...................................................................................................................200
Summary ..................................................................................................................201
Chapter 7: XML Serialization.............................................................203
Overview...................................................................................................................203
Controlling XML Serialization............................................................................204
Defining the Root
PurchaseOrder
Datatype
................................................205
Defining the
Items
Array .....................................................................................211
Creating Derived Datatypes ..............................................................................216
Creating an Open
PurchaseOrder
Schema .................................................217
Defining the
AcceptPO
Web Method .............................................................219
Server-Side Validation.........................................................................................220
Implementing Custom Serialization................................................................221
Summary ..................................................................................................................221
Chapter 8: Using Remoting to Build and Consume
Web Services.....................................................................................................223
Remoting vs. ASP.NET.......................................................................................223
The Grabber.NET Application...........................................................................224
Remoting Architecture ..........................................................................................225
Creating an IIS-Hosted Web Service.................................................................226
Creating a WinForm-Hosted Web Service........................................................231
Accessing Web Services......................................................................................235
Adding SOAP Headers.........................................................................................241
Generating WSDL
.................................................................................................244
Suds WSDL Extension Elements .......................................................................245
Summary ..................................................................................................................246
5
Chapter 9: Discovery Mechanisms for Web Services
..........................................................................................................................................248
Overview...................................................................................................................248
UDDI...........................................................................................................................248
UDDI Architecture .................................................................................................249
UDDI API
................................................................................................................249
UDDI SDK...............................................................................................................252
UDDI Enterprise Server........................................................................................253
Registering the Purchaser ...................................................................................253
Registering the Supplier.......................................................................................269
Visual Studio .NET Integration............................................................................275
DISCO .......................................................................................................................277
Visual Studio .NET and DISCO..........................................................................277
Summary ..................................................................................................................280
Chapter 10: Building Secure Web Services
........................281
An Introduction to Threat Modeling.................................................................281
Brainstorming Threats ..........................................................................................281
Choosing Techniques to Mitigate the Threats ..................................................282
Web Service Security Technologies...............................................................285
Web Services Authentication ..............................................................................286
Web Services Authorization ................................................................................290
Web Services Privacy and Integrity....................................................................291
Security Technologies in the .NET Framework..........................................292
Future Web Service Security Technologies ................................................294
Common Security Mistakes...............................................................................295
Mistake #1: Storing Secret Data Insecurely......................................................295
Mistake #2: Connecting to SQL Server Incorrectly..........................................296
Mistake #3: Building Insecure SQL Strings.......................................................296
An In-Depth Example...........................................................................................297
The Insecure Version (Do Not Try This at Home!) ..........................................297
A Secure Solution..................................................................................................298
Summary ..................................................................................................................301
Chapter 11: Debugging Web Services
.....................................302
Overview...................................................................................................................302
Interactive Debugging..........................................................................................302
The Basics of Debugging.....................................................................................302
Remote Debugging...............................................................................................303
Web Services–Friendly Call Stack.....................................................................304
Information the Debugger Needs ....................................................................306
Assembly Metadata ..............................................................................................307
Program Database................................................................................................307
Tracking Information.............................................................................................308
Debugging Dynamically Compiled Source Code.............................................310
剩余387页未读,继续阅读
资源评论
- xxtu6302013-09-02这本书挺不错的 老师让看的 感谢楼主
- 傍山人家2014-09-18这本书不错,推荐下载
- abc15542236702014-09-13挺好的,我毕业设计的参考文献,帮助很大
zhangminglu1987
- 粉丝: 7
- 资源: 33
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 同等学力申硕考试 组合数学
- 同等学力 离散数学与组合数学
- 50条最常用Linux系统命令大全手册
- 斯沃数控仿真软件7.2版数控加工中心车床铣床编程仿真模拟教程斯沃系统手册可编程序控制器系统(ABPLC)说明
- 2023NOC软件创意编程赛项真题-python小高初赛
- 2024安全信息安全与评估
- 斯沃数控仿真软件7.2版数控加工中心车床铣床编程仿真模拟教程斯沃系统手册DASEN-9i-连接手册PLC-手册
- SpringBoot集成MyBatis-Plus
- 基于python-contrib-opencv,dlib,pyqt5实现电脑端摄像头读取视频,实时人脸录入,人脸识别等功能
- 斯沃数控仿真软件7.2版数控加工中心车床铣床编程仿真模拟教程斯沃系统手册DASEN-3i-h连接手册PLC手册
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功