Enforcing SOAP Security to Enable Confidentiality and Integrity on Message Exchanges
This sample describes how WSS Provider and WSS Consumer policies can be enforced on SOAP/HTTP message exchanges to ensure confidentiality and integrity.
Also service provider asks to decrypt message from consumer and verify signature of consumer.
Procedure
Result
The ServiceConsumer process sucessfully calls the ServiceProvider process.
The file ConfidentialityIntegrity.txt is generated in the C:\tmp\policy directory on Windows platform, or /tmp/policy directory on Unix platform.
Open the
ConfidentialityIntegrity.txt file in a text editor. The default contents of the file are outlined below.
The Request From Service Consumer: Bob The Response from Service Provider: Welcome you Bob
Understanding the Configuration
The following processes interact with each other in this project:
- ServiceProvider.bwp: To ensure decryption and signature verification on the incoming request message, a WSS Provider policy configured for confidentiality and integrity is associated with the service side of this process.
- ServiceConsumer.bwp: To ensure the outbound request message to ServiceProvider is encrypted and signed, a WSS Consumer policy configured for confidentiality and integrity is associated with the reference side of this process.
Copyright © Cloud Software Group, Inc. All rights reserved.