Share via


WSE QuickStarts

The following table lists the QuickStart samples that ship with WSE and provides a brief description and list of types for each sample.

QuickStarts

Sample Description WSE types used by sample

AsymmetricEncryption

Demonstrates how to build a client application that encrypts SOAP messages by using an X.509 certificate and a Web service that decrypts them. For more information about encrypting SOAP messages by using an X.509 certificate, see How to: Encrypt a SOAP Message Using an X.509 Certificate

X509SecurityToken, EncryptedData, X509CertificateStore, X509Certificate, RequestSoapContext, and ISecurityElement.

Attachments

Demonstrates how to send an attachment with a SOAP message. For more information about adding an attachment to a SOAP message, see How to: Add Attachments to a SOAP Message by Using DIME.

Attachment

BaseStockService

Provided as a basis for comparison between WSE and non-WSE applications. This sample does not use any of the features of WSE.

None.

ContentBasedRouting

Demonstrates how to build a content-based router. For more information about content-based routing, see How to: Route SOAP Messages Based Upon Their Content.

SoapHttpRouter

CustomBinarySecurityToken

Demonstrates how to build a custom binary security token. For more information about creating a custom binary security token, see Creating Custom Security Tokens.

BinarySecurityToken, SecurityTokenManager, SecurityTokenService, RequestSecurityToken, RequestSecurityTokenResponse, and SecurityTokenServiceClient

CustomFilter

Demonstrates how to build custom output and input filters. For more information about creating custom filters, see Filtering SOAP Messages.

SoapInputFilter, SoapOutputFilter, and SoapEnvelope

CustomPolicyAssertion

Demonstrates how to build a custom policy assertion. The sample shows how to build a replay cache that can help avoid replay attacks. For more information about creating custom policy assertions, see Walkthrough: Creating a Policy Assertion.

PolicyAssertion and SoapOutputFilter

CustomXmlSecurityToken

Demonstrates how to build a custom XML security token. For more information about creating a custom binary security token, see Creating Custom Security Tokens.

SecurityToken, SecurityTokenManager, SecurityTokenService, RequestSecurityToken, RequestSecurityTokenResponse, and SecurityTokenServiceClient

DerivedKeyToken

Demonstrates how to send an encrypted message to a Web service using a DerivedKeyToken security token. For more information about encrypting messages using a derived key token, see How to: Encrypt a SOAP Message By Using a Security Context Token.

DerivedKeyToken, RequestSoapContext, SecurityContextTokenServiceClient, X509CertificateStore, and X509SecurityToken.

HttpSyncStockService

Demonstrates how to send and receive SOAP messages by using the HTTP protocol with the SoapService and SoapClient classes in the WSE messaging classes. For more information about using the new WSE messaging classes, see Sending and Receiving SOAP Messages.

SoapService and SoapClient

Kerberos

Demonstrates how to secure a simple Web service by using a Windows Kerberos implementation. For more information about using Kerberos tickets, see Kerberos Ticket. For more information on the differences between the KerberosToken and KerberosToken2 security tokens, see Differences between KerberosToken and KerberosToken2.

KerberosToken

Kerberos2

Demonstrates how to secure a simple Web service by using a Windows Kerberos implementation. For more information about using Kerberos tickets, see Kerberos Ticket. For more information on the differences between the KerberosToken and KerberosToken2 security tokens, see Differences between KerberosToken and KerberosToken2.

KerberosToken2

PipelineHosting

Demonstrates how to host the WSE pipeline. This is an advanced sample.

Pipeline and SoapEnvelope

ResponseEncryption

Demonstrates how to encrypt a SOAP response by using the X.509 certificate that the sender used to sign the SOAP request.

X509SecurityToken, EncryptedData, MessageSignature, SignatureOptions, X509CertificateStore, X509Certificate, ResponseSoapContext, and ISecurityElement.

Routing

Demonstrates how to use the WSE router to make the route that a SOAP message takes to the ultimate Web server hosting the Web service transparent to client applications. For more information about using the WSE router, see Routing SOAP Messages with WSE.

None.

The routing is accomplished by using a referral cache.

SecureConversation

Demonstrates how to issue a security context token, and then use that token in a conversation between a SOAP message sender and a target Web service. For more information about how to issue and use security context tokens, see Issuing Security Tokens.

SecurityContextToken and SecurityTokenServiceClient

TcpStockSoapReceiver

Demonstrates how to asynchronously send and receive SOAP messages by using the TCP protocol with the WSE SoapSender and SoapReceiver classes. For more information about using the new WSE messaging classes, see Sending and Receiving SOAP Messages.

SoapSender and SoapReceiver

TcpSyncStockService

Demonstrates how to synchronously send and receive SOAP messages by using the TCP protocol with the WSE SoapService and SoapClient classes. For more information about using the new WSE messaging classes, see Sending and Receiving SOAP Messages.

SoapService and SoapClient

TimeStamp

Demonstrates how to set the expiration time on a SOAP request and a SOAP response.

Timestamp

UsernameSigning

Demonstrates how to sign a SOAP message by using a user name and password and how to build a Web service that receives the signed SOAP message. For more information about using username token security tokens, see User Name and Password.

UsernameToken, MessageSignature, PasswordOption, SecurityTokenManager

X509Signing

Demonstrates how to build a client application that signs a SOAP message by using an X.509 certificate and how to build a Web service that receives the signed SOAP message. For more information about using X.509 certificates, see X.509 Certificate.

X509SecurityToken, MessageSignature, X509CertificateStore, X509Certificate, RequestSoapContext, and ISecurityElement

See Also

Tasks

How to: Run a WSE QuickStart Sample

Concepts

Overview of the Web Services Enhancements

Other Resources

QuickStart Samples