Adding WS-Adressing support is fairly simply. You need to add the AddressingInHandler and AddressingOutHandler to your XFire instance.
The in handler looks for a To header to determine the service which is being invoked. It parse the text after the last seperator and uses that as the service name. For instance, "http://foo.com/Echo" would tell the in handler to look for the Echo service.
Setting an Action
The action can be set via JSR 181 Annotations or you create your own service factory which sets the Action appropriately. Here's an example where ObjectServiceFactory.getAction() is overridden:
Then when this snippet of XML was found:
XFire would know to invoke the Operation associated with it.


