SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Posted: 2017-12-19 07:02 AM
Link copied. Please paste this link to share this article on your social media post.
I'm noticing an unusual behavior with the soap/rest endpoint webservice for"/Containers/{id}/Children":
It seems like the Root Server Item is being listed as a child for folders. I haven't been able to identify a well defined pattern, but it only happens for certain folders, and making changes to the folder contents can result in it no longer being listed.
Here is what my test ES looks like:
A request for GET /Containers/00%2FOrangeJuice%2Ftestpoints/Children results in:
[ { "Name": "OrangeJuice", "Description": "", "Type": 1, "ParentId": "00/OrangeJuice/testpoints", "Id": "00/OrangeJuice" }, { "Name": "AV1", "Description": "", "Type": 3, "Writeable": 1, "Forceable": 1, "State": 0, "Unit": "none", "Value": "3.14", "ParentId": "00/OrangeJuice/testpoints", "Id": "01/OrangeJuice/testpoints/AV1" }, { "Name": "Text1", "Description": "", "Type": 2, "Writeable": 1, "Forceable": 1, "State": 0, "Unit": "none", "Value": "hello", "ParentId": "00/OrangeJuice/testpoints", "Id": "01/OrangeJuice/testpoints/Text1" }, { "Name": "MSV1", "Description": "", "Type": 4, "Writeable": 1, "Forceable": 1, "State": 0, "Unit": "none", "Value": "3", "ParentId": "00/OrangeJuice/testpoints", "Id": "01/OrangeJuice/testpoints/MSV1" } ]
If I add a new folder under my testpoints folder, it does not show the root 'OrangeJuice' item in the list anymore and instead shows the new folder I had created.
Link copied. Please paste this link to share this article on your social media post.
Can you provide the Log file with EwsClient filter enabled and LogLevel of Debug?
Also. Is it an AS or ES? Version?
Posted: 2017-12-19 07:56 AM
Link copied. Please paste this link to share this article on your social media post.
there is no Ews Client filter on the list. There is 'Csp Client', 'Ews Serve', 'Ews Consume', 'Rest Serve'.
Its an ES, configured as shown above.
Posted: 2017-12-19 07:57 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Sorry. Ews Consume is the one.
Posted: 2017-12-19 08:19 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Josh,
Can re-run your test again with only "EWS Consume" and "REST Serve" logging filters enabled?
Posted: 2017-12-19 10:53 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Josh. Its a bug. It will only manifest itself if there are no children of type Container at the level you are requesting. I've entered it into the system and I'll try to get a fix out this week.
Posted: 2017-12-19 01:09 PM
Link copied. Please paste this link to share this article on your social media post.
Okay thanks! looking forward to it
Link copied. Please paste this link to share this article on your social media post.
v2.3.107 includes a fix for this issue. New version is available from the SmartConnectorServer Download Center.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.