{
String serverUrl = urlStr.substring(0,
urlStr.lastIndexOf("/sdk"));
String cimAgentAddress = serverUrl + ":5989";
String namespace = "root/cimv2";
UserPrincipal userPr = new UserPrincipal(sessionId);
PasswordCredential pwCred = new PasswordCredential(
sessionId.toCharArray());
CIMNameSpace ns = new CIMNameSpace(
cimAgentAddress, namespace);