Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
HTTP is most often used as a Web-Service transport protocol. However, it is not able to meet the asynchronous communication requirements.
Web-Service on XMPP transport is capable of asynchronous communication in which a client doesn't need to wait for a response from a service; instead, the service sends the response to the client when the process is completed. Spring-WS 2.0 includes XMPP (Jabber) support in which a Web-Service can communicate over the XMPP protocol. In this recipe, setting up a Spring-WS on XMPP transport is presented. Since there is no external HTTP server, a test class is used to load the application context.