See http://www.dmtf.org/standards/cim/ for more details on the CIM specification.
See http://www.dmtf.org/standards/wsman/ for more details on the WS-Management specification.
This package represents a late-binding CIM API for accessing managed resources using the WS-Management protocol. A simple use of the library would be as follows:
// Create a default authenticator (required for digest based authentication)
defAuth.addCredential(connection.getAddress(),
"digest", “admin”, “P@ssw0rd”)
// Tell Java to use the authenticator
// Demonstrate a WS-Man Get() by retrieving the Intel AMT Version
ref.addSelector("InstanceID", "AMT");
// Get the instance and print the XML to stdout
// Create a connection to an Intel(r) Active Management Technology (AMT) client
WsmanConnection connection = WsmanConnection.createConnection(“http://myAmtClient:16992/wsman”)
DefaultAuthenticator defAuth = new DefaultAuthenticator();
java.net.Authenticator.setDefault(defAuth);
ManagedReference ref = connection.newReference("CIM_SoftwareIdentity");
try {
   ManagedInstance inst = ref.get();
   System.out.println(WsmanUtils.getXML(inst));
} catch (WsmanException wsmanException) {
   System.out.println(WsmanUtils.getXML(wsmanException));
   throw new RuntimeException(wsmanException.fillInStackTrace());
}
This package was designed to be used with JDK 1.6 or above.