Added support to create sessions using SOAP.