Class ActionCallback

java.lang.Object
org.springframework.ws.soap.addressing.client.ActionCallback
All Implemented Interfaces:
WebServiceMessageCallback

public class ActionCallback extends Object implements WebServiceMessageCallback
WebServiceMessageCallback implementation that sets the WS-Addressing Action header on the message.

A usage example with WebServiceTemplate:

 WebServiceTemplate template = new WebServiceTemplate(messageFactory);
 Result result = new DOMResult();
 template.sendSourceAndReceiveToResult(new StringSource("<content xmlns=\"http://tempuri.org\"/>"),
                new ActionCallback(new URI("http://tempuri.org/Action")), result);
 
Since:
1.0.0
Author:
Arjen Poutsma, Leandro Quiroga