Hmm, the address should be a list like:
{
"operation" : "add",
"address" : [{
"PROPERTY_VALUE" : {
"server-group" : "dev"
}
}],
"profile" : "default"
}
I guess you just need to use:
address.add("server-group", "dev");
instead of:
address.set("server-group", "dev");
On 03/25/2011 01:20 PM, Heiko Braun wrote:
the following operation leads to the error below:
[INFO] {
[INFO] "operation" : "add",
[INFO] "address" : {
[INFO] "PROPERTY_VALUE" : {
[INFO] "server-group" : "dev"
[INFO] }
[INFO] },
[INFO] "profile" : "default"
[INFO] }