Memorynotfound Java Programming Tutorials
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....
Creating Custom JAX-RS MessageBodyReader
You can use a JAX-RS MessageBodyReader to deserialize an entity on the server or client. Jersey already provides default deserializers like json and xml. This is just a demonstration how you can build your...
Creating Custom JAX-RS MessageBodyWriter
A JAX-RS MessageBodyWriter is responsible for converting Java types to a stream. In this example we are creating a JAX-RS MessageBodyWriter that produces text/html. This class may be annotated using the @Produces annotation to...