// Server URL which is defined in the server.xml
serverUrl = CarbonUIUtil.getServerURL(config.getServletContext(), session);
this.serviceEndPoint = serverUrl + "STSAdminService";
try {
this.stub = new STSAdminServiceStub(configContext, serviceEndPoint);
} catch (AxisFault e) {
log.error("Error while creating STSAdminServiceStub", e);
throw new Exception(e);
}
client = stub._getServiceClient();