BUILDING XML WEB SERVICES FOR THE MICROSOFT .NET PLATFORM(影印版)

BUILDING XML WEB SERVICES FOR THE MICROSOFT .NET PLATFORM(影印版)
作 者: Scott Short
出版社: Microsoft Press
丛编项: Microsoft.net
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: XML
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《BUILDING XML WEB SERVICES FOR THE MICROSOFT .NET PLATFORM(影印版)》作者简介

内容简介

Build state-of-the-art distributed Web applications with this comprehensive XML Web services development guide, which examines the architecture, protocols, and practices you need to know to build Web-ready, distributed-object applications. lt gives you in depth information about the basic building blocks of XML Web services; Simple Object Access Protocol (SOAP), Web Services Description Language (WSDL), Universal Description, Discovery, and Integration (UDDI), and Microsoft .NET Framework technologies. It also describes Microsoft.NET My Services and other upcoming XML-based technologies from Microsoft.

图书目录

Introduction

1 Why Web Services?

Web Services Building Blocks

Web Services Design Decisions

Choosing Transport Protocols

Choosing an Encoding Scheme

Choosing a Formatting Convention

Choosing Description Mechanisms

Choosing Discovery Mechanisms

What’s Missing from Web Services?

Summary

2 Creating a Basic Web Service

A Simple Commerce Application

Creating a Web Form

Creating a Payment Web Service

Updating the Order Web Form

The Web File Share Application

Creating the WebFileShare Web Service

Creating the WebFileUtil Program

Summary

3 SOAP

Anatomy of a SOAP Message

SOAP Actors

The Header Element

The Body Element

Using SOAP RPC Messages

SOAP Encoding

Simple Types

Compound Types

Passing Parameters by Reference

Protocol Binding

Summary

4 XML Schema

Describing XML Documents

Built-In Datatypes

Integers

Strings

Binary Data

Namespaces

targetNamespace Attribute

xmlns Attribute

schemaLocation Attribute

noNamespaceSchemaLocation Attribute

XML Schema and XML Schema Instance Namespaces

Element Definitions

Custom Datatypes

Simple Types

Complex Types

Element and Attribute Groups

Namespace Scoping

Polymorphism

Restricting Inheritance

Summary

5 Using WSDL to Document Web Services

WSDL Document Syntax

definitions Element

types Element

message Element

portType Element

binding Element

service Element

Extensibility Elements

SOAP Extensions

HTTP GET/POST Extensions

import Element

Documentation

The Calculator Web Service WSDL Document

Summary

6 ASP.NET

Creating an ASP.NET Web Service

Transport Protocols and Bindings

Web Service Documentation

Raising Errors

SOAP Encoding Styles

Encoding References

Interface Inheritance

Managing State

Session State

Application State

Defining and Processing SOAP Headers

Processing Unknown Headers

Using SOAP Extensions

SOAP Extension Attributes

SOAP Extension Class

Using the WSDL Utility to Generate Proxy Code

Proxy Class

Cookies

Summary

7 XML Serialization

Controlling XML Serialization

Defining the Root PurchaseOrder Datatype

Defining the Items Array

Creating Derived Datatypes

Creating an Open PurchaseOrder Schema

Defining the AcceptPO Web Method

Server-Side Validation

Implementing Custom Serialization

Summary

8 Using Remoting to Build and Consume Web Services

Remoting vs. ASP.NET

The Grabber.NET Application

Remoting Architecture

Creating an IIS-Hosted Web Service

Creating a WinForm-Hosted Web Service

Accessing Web Services

Adding SOAP Headers

Generating WSDL

Suds WSDL Extension Elements

Summary

9 Discovery Mechanisms for Web Services

UDDI

UDDI Architecture

UDDI API

UDDI SDK

UDDI Enterprise Server

Registering the Purchaser

Registering the Supplier

Visual Studio .NET Integration

DISCO

Visual Studio .NET and DISCO

Summary

10 Building Secure Web Services

An Introduction to Threat Modeling

Brainstorming Threats

Choosing Techniques to Mitigate the Threats

Web Service Security Technologies

Web Services Authentication

Web Services Authorization

Web Services Privacy and Integrity

Security Technologies in the .NET Framework

Future Web Service Security Technologies

Common Security Mistakes

Mistake #1: Storing Secret Data Insecurely

Mistake #2: Connecting to SQL Server Incorrectly

Mistake #3: Building Insecure SQL Strings

An In-Depth Example

The Insecure Version (Do Not Try This at Home!)

A Secure Solution

Summary

11 Debugging Web Services

Interactive Debugging

The Basics of Debugging

Remote Debugging

Web Services–Friendly Call Stack

Information the Debugger Needs

Assembly Metadata

Program Database

Tracking Information

Debugging Dynamically Compiled Source Code

Instrumenting Web Services

Tracing

Event Log

Performance Counters

Tips and Tricks for Debugging

Summary

12 Scalability and Availability

Scaling Your Web Service

Scaling Up

Scaling Out

Overcoming Scalability Bottlenecks

Maintaining High Availability

Highly Available Scale-Up Resources

Highly Available Scale-Out Resources

Programming Against a Highly Available Resource

Third-Party Web Services and Availability

Failing Over to an Alternative Web Service

Creating an Offline Mode of Operation

Optimizing Performance

Caching

Summary

13 The Future of Web Services

Introducing .NET My Services

Securing .NET My Services

Working with .NET My Services

The Global XML Web Services Architecture (GXA)

WS-Inspection

WS-Security and WS-License

WS-Routing

WS-Referral

WS-Referral Registration Message Exchange

Dynamic Application Topologies

Orchestrating Web Services

Summary

Appendix XML Schema Built-In Types

Index