Category: Spring WS
Spring WS Username Password Authentication Wss4j
This tutorial shows how to secure Spring WS Soap Services using Ws-Security username and password authentication. This password can either be in plain text or in a digest. Remember, plain text passwords are not...
Spring WS Client Side Integration Testing
This example shows how to write client side integration tests using Spring WS and JUnit. Spring WS is a great framework for writing Soap Services and it allows you to easily create integration tests....
Spring WS Server Side Integration Testing
This tutorial shows how to create integration tests for your spring ws soap endpoints using JUnit. Spring WS has a great framework for writing clean and powerful integration tests. By using the MockWebServiceClient we...
Spring WS Get Soap Header in Server
In the previous tutorial we added soap headers to the client using spring ws, in this example we show how to read and map the soap header on the server side. We use the...
Spring WS Add Soap Header in Client
Sometimes you need to pass a soap header from the client to the server. This header can contain security information or other meta data. This example shows you how to add a soap header...
Spring WS-Addressing Delegate Response
Previously, we saw how to create spring ws-addressing soap client and server. Next we dive deeper and use another cool feature of WS-Addressing. WS-Addressing specifies a transport-neutral routing mechanism. It is based on a...
Spring WS WS-Addressing @Action Example
This example shows how to use Spring WS WS-Addressing to send and receive SOAP requests or responses. We are not covering the details what WS-Addressing is, there are numerous papers describing this in detail....
Spring WS Adding Detail to SoapFault Exception Handling
In this tutorial we show you how to add detail information to your exceptions. Spring WS enables easy translation of errors penetrated from business logic. Exceptions are automatically thrown up the chain with the...
Spring WS Intercept Request Response Soap Messages
In the previous tutorial we saw how to produce and consume a Spring WS Soap Service. This time, we show you how to use Spring Ws Endpoint Interceptors. These endpoint interceptors can be used...