String namespace = "root/cimv2";
UserPrincipal userPr = new UserPrincipal(sessionId);
PasswordCredential pwCred = new PasswordCredential(
sessionId.toCharArray());
CIMNameSpace ns = new CIMNameSpace(
cimAgentAddress, namespace);
CIMClient cimClient = new CIMClient(ns, userPr, pwCred);
CIMObjectPath rpCOP = new CIMObjectPath(
"CIM_RegisteredProfile");