1 Use the getHandlerResolver method to save the default message handler. To use the HTTP and SOAP message handlers, you must first save the default message handler so that you can restore it after login. The HTTP and SOAP message handlers impose overhead that is unneccessary after login.
2 Set the cookie handler. The HeaderCookieExtractionHandler method retrieves the HTTP cookie.
3