cw.ng

Elements are returned for multiple times depending on the depth of the tree for AF Web service

Discussion created by cw.ng on Jul 4, 2013
Latest reply on Jul 15, 2013 by mhamel

Hi,

 

I have encountered the problem that the same element is returned for multiple times depending on the depth of the tree for AF Web Service.

 

For example, we have tree having depth equals to 5. It will return 5 identical elements.

ns2:Id ns2:Path ns2:Name ns2:Level
cebf8c3c-b281-4a6b-8b81-412af610c142 af:\\SERVER\DC\D Center\ABC\Zone A\Cabinets\A01.01 A01.01 4
cebf8c3c-b281-4a6b-8b81-412af610c142 af:\\SERVER\DC\D Center\ABC\Zone A\Cabinets\A01.01 A01.01 3
cebf8c3c-b281-4a6b-8b81-412af610c142 af:\\SERVER\DC\D Center\ABC\Zone A\Cabinets\A01.01 A01.01 2
cebf8c3c-b281-4a6b-8b81-412af610c142 af:\\SERVER\DC\D Center\ABC\Zone A\Cabinets\A01.01 A01.01 1
cebf8c3c-b281-4a6b-8b81-412af610c142 af:\\SERVER\DC\D Center\ABC\Zone A\Cabinets\A01.01 A01.01 0

 In addition, because of the above issues, the level returned from the web service cannot reflect the actual level from the hierarchy even though we set the ChildElementDepth to a big number.

 

Please advise. 

Outcomes