SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello
We have developed an application which can browse and display the structure of the system in the application.
We are using the wsdl and are using SOAP, we are wondering about:
Regards
Henrik
Link copied. Please paste this link to share this article on your social media post.
Hi Henrik,
The issue you are currently seeing is one of the many reasons why we don't support direct SOAP connections to EBO via EWS, and instead ask everyone to use Smart Connector for this type of integrations as the Smart Connector EWS Client (and Managed Client) has code to deal with this, and a few other quirks.
To your questions.
1. Yes this is expected and it is possible to re-use a session, but it requires customizing your SOAP client. You will need to use cookies, the cookies are returned from EBO in their SOAP response. This cookie lasts 5-10 minutes before needing to be refreshed. There will need to be logic to handle the refresh.
2. The sessions automatically expire (after like 5-10 minutes), there is no way to force it to log off (without rebooting EBO).
3. Yes about 1000 in around a 5 minute period, going over that will result in a socket error.
4. Yes, see above. You will need to wait for the timeout period for the sockets to be released. Keep in mind, this socket error does not only affect your application, as it will actually make it so that no one at all can access EBO.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Jeff
Thanks for your reply.
I'm aware of your (SE) preference for us to use SC, however we had to go with EWS since there are missing some functionalities in SC, at least there were at few years back, haven't checked up lately as we have used EWS successfully for some time but on one installation we have seen these issues EBO 3.2.1.630 - and are trying to analyze the issue.
I'll look in to your suggestions 🙂
Regards
Henrik
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.