cluther, thanks for your answer.
i solved the problem with this code:
Code:
//set URL
URL url = new
URL("http://192.168.25.129:8080/zport/dmd/Devices/getMyDeviceList");
//make connection
URLConnection urlc = url.openConnection();
// username and password
String authorizationString = "Basic " +
Base64.encode("zenuser:zenpassword".getBytes());
urlc.setRequestProperty ("Authorization", authorizationString);
//use post mode
urlc.setDoOutput(true);
urlc.setAllowUserInteraction(false);
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=39083#39083
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users