A sample SOAP request is attached. <soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:header>The Java code to set the cookie and redirect would be: Cookie authCookie = new Cookie("ZM_AUTH_TOKEN", authToken); authCookie.setPath("/");