Use Cases for Petals BC SOAP 5.0.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
h1. Simple Use Cases

h2. Proxy SOAP using SSL et WS-Security

{tip}This use case runs with the Petals BC SOAP 5.0.0+. Its source code is available [here|https://svn.petalslink.org/svnroot/trunk/product/dev/prod/petals/petals-samples/petals-samples-soap].{tip}

The goal of this use-case is to show you how to configure the service units of BS Soap on both sides:
* to import into Petals, an external service secured with SSL and WS-Security,
* to export to outside an internal Petals service, secured with SSL and WS-Security.

The WS-Security parts will be based on:
* a time-stamp to avoid request re-injection,
* and authentication based on username and password.

This sample using SSL requires the following key stores:
* a key store 'external': keystore-external.jks (password: keystoreext), containing the private and public key of the external service provider,
* a key store 'petals': keystore-petals.jks (password: keystorepetals), containing the private and public key of Petals service consumer exposed to outside.

h3. About the service provider

A service provider 'Math' is available as a SoapUI mock at [http://localhost:8088/mockMathBinding?wsdl]. Just import the [SoapUI project|https://svn.petalslink.org/svnroot/trunk/product/dev/prod/petals/petals-samples/petals-samples-soap/su-SOAP-WSSUsernameTokenService-provide/src/main/resources/WSSUsernameTokenService-soapui-project.xml] and start the mocked service 'mathBinding MockService'.

The external service provider required SSL. So


h2. Securing a service running into Petals using 2-Way SSL and WS-Security