Category: Spring Framework
Mixing XML and Java Config in Spring
In an enterprise application, you’ll probably have multiple configuration files to structure your application. Using spring, these configuration files can vary from XML to Java Configuration. This tutorial shows you how to import an...
Spring Ws Digital Certificate Authentication Wss4J
You can use digital certificates to secure your soap services. In this tutorial we explain certificate authentication, we show how to encrypt and decrypt your messages via digital certificates, we show how to sign...
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....