List of Listings
Chapter 5:
The Enterprise Application Architecture
Listing 5-1:
Client Class Calling Your Server
Listing 5-2:
The Banking Component
Listing 5-3:
Test Class and Test Method to Test the TransferFunds Method
Chapter 6:
Web Services Design and Practice
Listing 6-1:
Header Information in the SOAP Message
Listing 6-2:
A Complete SOAP Message
Listing 6-3:
The Complete Web Service Code
Listing 6-4:
The SOAP Message Sent Between the Client and the Server
Listing 6-5:
The ValidateWithdraw Function
Listing 6-6:
The ThrowComplexException Method
Listing 6-7:
SOAP Extension Attribute Class
Listing 6-8:
The GetUserName Function
Listing 6-9:
The Different Username Tokens
Listing 6-10:
The Server-Side Code to Retrieve Certificates from the SOAP Request
Listing 6-11:
A Digitally Signed SOAP Message
Listing 6-12:
The Code to Verify the Digitally Signed SOAP Body
Listing 6-13:
Adding a Certificate to Your SOAP Message
Listing 6-14:
The Client Code to Retrieve the X509 Certificate from the SOAP Message
Listing 6-15:
The Complete Web Service Code
Listing 6-16:
The Code to Read the Attachment from the SOAP Message
Chapter 9:
An Example Application
Listing 9-1:
The UserReportFacade Class
Listing 9-2:
The Complete Facade Class
Listing 9-3:
The Business Code for the UserReport Class
Listing 9-4:
The DataAccess Class
Listing 9-5:
The Complete Code for the Business Class
Listing 9-6:
The SaveUserReport Method in Our Facade Layer
Listing 9-7:
A Webmethod Attribute
Listing 9-8:
The Complete Code for the Web Form Userreport.aspx
Listing 9-9:
The Configuration File
Listing 9-10:
The Complete Data Service Class
Listing 9-11:
The Complete LDAP Service Class
Listing 9-12:
Web Service for Exposing Authentication Toward LDAP
Listing 9-13:
The Login Button Code
Listing 9-14:
The Authentication Request