Microsoft .NET XML Web Services Step by Step
Home > Computing and Information Technology > Databases > Microsoft .NET XML Web Services Step by Step
Microsoft .NET XML Web Services Step by Step

Microsoft .NET XML Web Services Step by Step


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

XML Web services are the next logical step in the evolution of the Internet. Teach yourself how to write and deploy XML Web services for Microsoft .NET—one step at a time—with this modular, accessible tutorial. It delivers expert, task-based instruction plus a real-world XML service example to help you apply what you already know about Microsoft Visual C#, Microsoft Visual Basic .NET, and object-oriented programming so that you can learn XML Web services development at your own pace. Topics covered include: UNDERSTANDING XML WEB SERVICES XML Web services architecture XML Web services protocols Web Service Description Language (WSDL) Discovering XML Web services BUILDING XML WEB SERVICES Writing .NET XML Web services Testing XML Web services Debugging XML Web services CONSUMING XML WEB SERVICES Discovering XML Web services Generating a proxy class Creating clients that consume XML Web services Consuming XML Web services asynchronously Consuming XML Web services with HTTP ADVANCED XML WEB SERVICES Managing XML Web service state Securing XML Web services Using data sets with XML Web services Using SOAP headers

Table of Contents:
Why We Wrote This Book xii Who Should Read This Book xiii Organization of This Book xiii Part 1 Understanding XML Web Services xiv Part 2 XML Web Services and Clients xiv Part 3 Advanced XML Web Services xiv Part 4 Appendixes xiv Installing and Using the Practice Files xv Downloading and Installing the Libraries and Sample Code xv System Requirements xvi Conventions and Features in This Book xvii Support xvii PART 1 UNDERSTANDING XML WEB SERVICES 1 CHAPTER 1 Introduction to XML Web Services 3 What Are XML Web Services? 3 XML Web Service Examples 4 Information Services 4 Centralization Services 5 Data Integration, Aggregation, and Analysis 5 Extending and Integrating Applications 6 Peer-Based and Push-Based Systems 6 The Benefits of XML Web Services 7 Standards Based 7 Vendor Neutral 7 Simplicity 8 Language and Platform Independence 8 Functional Abstraction 8 Discoverable 8 Reduced Development Time 8 Challenges Facing XML Web Services 10 Immature Technology 10 Consumer Adoption 10 Unproven Business Model 11 Managing Complexity 11 Maintaining Consistency 12 Operational Issues and Support Infrastructure 12 XML Web Services Standards and Protocols 13 Directory and Discovery 13 Description 15 Messaging 15 The Extensible Markup Language 16 Transport 16 XML Web Service Architecture 16 Directory, Discovery, and Description 17 Proxy Objects 17 Creating XML Web Services with ASP.NET 18 CHAPTER 2 Developing XML Web Services Using Visual Studio .NET 21 Preparing the Development Environment 22 IIS Server Requirements 22 Installing Internet Information Services 23 Configuring IIS Server for XML Web Service Development 24 Installing Visual Studio.NET 26 ASP.NET Fundamentals for XML Web Services 27 ASMX Files 28 The @ WebService Directive 29 Code-Behind Files 29 Creating XML Web Service Projects in Visual Studio .NET 30 Creating the HelloWorld XML Web Service 30 Testing the HelloWorld XML Web Service 34 The XML Web Services Project Files 36 Uploading Files to IIS Server from Visual Studio .NET 38 CHAPTER 3 Building the Credit Card Validation Service 41 The Credit Card Validation Service 41 The Credit Card Validation Process 42 CreditCardValidator Library Functionality 42 The VISAValidator Service 43 Creating the VISAValidator Service 44 Testing the VISAValidator XML Web Service 50 Understanding the VISAValidator Code 53 The System.Web.Services Namespace 54 The WebService Base Class 55 The WebService Attribute 56 The WebMethod Attribute 57 PART 2 XML WEB SERVICES AND CLIENTS 61 CHAPTER 4 Building a SOAP Client 63 Proxy Classes and Web References 64 Creating a Web Reference 65 Renaming the Web Reference 67 Viewing the Web Reference Files and Properties 68 Using a Proxy Class 70 XML Web Service Clients 72 Creating the Windows Forms Client 73 Creating the Web Forms Client 79 Creating the Console Client 83 CHAPTER 5 Building an HTTP Client 89 HTTP-GET and HTTP-POST Protocols 89 Comparing HTTP-GET and HTTP-POST 90 Comparing HTTP and SOAP 91 Consuming XML Web Services Using HTTP 94 HTTP Proxy Classes 95 Creating a Web Forms Client 95 CHAPTER 6 Data Types in XML Web Services 101 Representing Data Using SOAP 101 Representing Data Using HTTP 102 Simple Types 102 Complex Types 103 Creating an XML Web Service That Uses a Complex Type 104 Consuming an XML Web Service That Uses a Complex Type 110 Reference Arguments 115 Creating an XML Web Service That Uses Reference Arguments 116 Consuming an XML Web Service That Uses Reference Arguments 120 CHAPTER 7 Exception Handling 125 How ASP.NET Handles Exceptions 125 Using Custom Fault Codes 127 Throwing Exceptions in XML Web Services 127 Handling Exceptions in XML Web Service Clients 132 Testing the WindowsFormsClient Application 140 CHAPTER 8 Debugging XML Web Services with Visual Studio .NET 143 Breakpoints and Exceptions 144 Using Breakpoints 144 Creating the XML Web Service Debugging Project 144 Creating the XML Web Service Client 146 Setting a Breakpoint 149 Stepping with the Debugger 151 Configuring Breakpoints 153 Using the Hit Count 153 Breaking on Conditions 157 Disabling and Removing Breakpoints 160 Breaking on Exceptions 160 CHAPTER 9 Publishing and Discovering XML Web Services 165 Publishing and Discovering XML Web Services Using UDDI 165 Publishing XML Web Services Using UDDI 166 Discovering XML Web Services Using UDDI 183 Publishing and Discovering XML Web Services Using DISCO files 187 DISCO Files 187 Automatic Discovery and .vsdisco Files 189 XML Web Service Deployment 191 Manual Deployment 192 Visual Studio .NET Copy Project 194 Visual Studio .NET Web Setup Project 195 Advanced XML Web Services 207 CHAPTER 10 State Management 209 Client State 210 Using Client Sessions 210 Consuming an XML Web Service That Uses Client State 216 Application State 224 Using the Application Property 225 Building the Request History Client 229 Testing the Application State Support 231 CHAPTER 11 The DataSet and XML Web Services 233 Overview of the DataSet 233 Using a DataSet 235 Creating the Windows Forms Validation Client 239 Consuming an XML Web Service That Uses a DataSet 245 CHAPTER 12 Caching and Application Events 253 Caching 253 The CacheDuration Property 254 The Cache Object 255 Creating an XML Web Service That Uses Caching 256 Creating the Windows Forms Validation Client 260 Consuming an XML Web Service That Uses Caching 265 Testing the XML Web Service 269 The Global.asax file 271 Creating an XML Web Service That Uses Application Events 273 CHAPTER 13 Securing XML Web Services 283 Authentication 284 Implementing Basic and Digest Authentication 286 Implementing Integrated Windows Authentication 301 Authorization 306 URL Authorization 306 File Authorization 309 CHAPTER 14 Custom SOAP Headers 311 Using Custom SOAP Headers in XML Web Services 312 Developing an XML Web Service That Uses Custom SOAP Headers 312 Developing an XML Web Service Client That Uses Custom SOAP Headers 323 CHAPTER 15 Consuming XML Web Services Asynchronously 333 Asynchronous XML Web Services 334 Slowing Down the Test XML Web Service 335 Asynchronous XML Web Service Clients 340 Proxy Class Methods 340 Using Callbacks to Signal Asynchronous Method Completion 343 Waiting for Asynchronous Method Completion 353 Blocking on Asynchronous Method Completion 361 Polling to Determine Asynchronous Method Completion 361 CHAPTER 16 Manually Creating Proxies 363 Using the Wsdl.exe Tool 363 Creating a Proxy DLL 364 Creating a Client Using a Proxy DLL 366 APPENDIX A The Credit Card Validation Library 377 APPENDIX B XML Web Service Resources 391 INDEX

About the Author :
Adam Freeman is a professional programmer and the author of two early Java books, Programming the Internet with Java and Active Java, both published by Addison Wesley, as well as Java course materials. His recent experience architecting a green-field e-commerce platform has given him an in-depth understanding of the current security challenges facing those developing large scale distributed systems. Adam has previously worked for Netscape, Sun Microsystems and the NASDAQ stock exchange.


Best Sellers


Product Details
  • ISBN-13: 9780735617209
  • Publisher: Microsoft Press,U.S.
  • Publisher Imprint: Microsoft Press,U.S.
  • Height: 229 mm
  • No of Pages: 432
  • Width: 187 mm
  • ISBN-10: 0735617201
  • Publisher Date: 30 Oct 2002
  • Binding: SA
  • Language: English
  • Weight: 1000 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Microsoft .NET XML Web Services Step by Step
Microsoft Press,U.S. -
Microsoft .NET XML Web Services Step by Step
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Microsoft .NET XML Web Services Step by Step

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!