[iControl-SOAP]Setting Partition and retrieving the objects from all the partition mis-behaves
Hi All,
I am using the iControl SOAP API in Java to retrieve the Virtual Server of all the partition. Every time when i run , the total list of all partition is differs at time.
iControl.ManagementPartitionAuthZPartition[] partitionList = m_interfaces.getManagementPartition().get_partition_list(); for(iControl.ManagementPartitionAuthZPartition partition : partitionList){ m_interfaces.getManagementPartition().set_active_partition(partition.getPartition_name()); String vServer[] = m_interfaces.getLocalLBVirtualServer().get_list(); }
All the time, I am not getting the virtual server of the partition which I am setting, rather it gives me other partition's Virtual server.
If i wait for 3 seconds or more after setting the partition, I am able to get the Virtual servers of all partition. But, my collection time is more when i have N number of partition.
Can anyone help me to get rid of this issue.
Regards, Prakash.K