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.
I am new to SmartConnecor. I read all the manual related about it, and have question during my operation:
1. I have already applied the developer license. But strange thing is if I close the Browser, and reopen it again, I am prompted to enter the license again. Why this will happened?
2. Now I want to share data to 3rd party system, but how should I enter the EWS info? The default http://localhost:57621/DataExchange?singleWsdl will not work. But if I added my local address, like http://localhost:88/EcoStruxure/DataExchange?singleWsdl , it will show Invalid Request in the Status window after click on start for this EWS server. What should I enter the URL to use it?
Thank you very much!
Link copied. Please paste this link to share this article on your social media post.
Hi Andrew,
Can you please describe in detail what you are trying to accomplish (any information about the capabilities of the 3rd party system too) so that we may recommend the best way to proceed?
If you simply need to get data from SBO and are able to extract it via a 3rd party tool via a RESTful web service. Then you can do as Mark said, and stand up SmartConnector EWS Restful gateway configured to read data from your SBO server.
If the 3rd party system, needs the data in a specific format, then you will need to write code to extract the data via EWS (using Ews.Client) and then do whatever you need to with the data.
If you were to want the data from the 3rd party system to be shared with SBO (e.g. data from 3rd party, shows up in SBO). This is where you need to create an EWS Server in SmartConnector. Then SBO can consume the data that you populate in the SmartConnector EWS Server.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi XiaoJiong,
We have not encountered an issue with the license as you have described, can you please add some steps so we can try and reproduce?
As far as the EWS data sharing, what exactly are you trying to do. And where are you entering this URL into, can you take a screenshot of your configuration?
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
When configuring an EWS interface in SBO, you don't paste in the query parameter ?singleWSDL. That's only to download the WSDL served from the EWS Server.
Link copied. Please paste this link to share this article on your social media post.
Hi Jeffrey,
Today the license issue goes away. I don't know why....And I have attached the EWS info. I have entered.
Link copied. Please paste this link to share this article on your social media post.
If you don't have a valid license when the SmartConnector service starts, the EWS Servers will not start.
Assuming that isn't the case, please ensure that "Service" level logging is enabled and the try to manually start the EWS Server. If it doesn't start, the log file should indicate what is going on.
Failure to start EWS Servers is typically due to the port selected already being in use.
Link copied. Please paste this link to share this article on your social media post.
Hi Mark,
I checked the log, and it did say the port is in use. But one thing is confusing me. localhost:88/EcoStruxure/DataExchange is the real working EWS alone, I can see all the points through SoapUI. But the EWS here means I have to create a new one or I have to choose the one which is used in SBO? I am a little bit lost on what should I fill?
Link copied. Please paste this link to share this article on your social media post.
I think you are confusing SBO (as an EWS Server) from SmartConnector (as an EWS Server).
If you have SBO configured on port 88, then obviously SmartConnector cannot be an EWS Server on the same port.
What exactly are you trying to do?
Link copied. Please paste this link to share this article on your social media post.
What I want is to share data with 3rd party system. But what I am told that the EWS is not suitable for other system to use, and I have to use SmartConnector. What all I tried to is share data successfully.
Link copied. Please paste this link to share this article on your social media post.
Hi XiaoJiong,
What are you trying to accomplish in this test?
If you want to read SBO data into SmartConnector, you cannot do this by simply creating an EWS Server in SmartConnector, as this creates a server that SERVES data to requesting clients (typically SBO is the client in this case).
If you want to read SBO data, you will need to write some code and use the Ews.Client to read data, and then do with it what you want to do, send it elsewhere etc..
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
The best way for third parties to directly consume data from SBO is to provision a REST Gateway to act as a proxy. The third party would see a REST endpoint rather than the EWS SOAP endpoint from SBO. This is covered in SmartConnector RESTful EWS Gateway.pdf document.
Incidentally, this workflow has nothing to do with provisioning an EWS Server inside of SmartConnector. That is typically used to serve data back to SBO (or any EWS client).
Posted: 2017-03-30 09:33 AM . Last Modified: 2022-10-18 10:25 PM
Link copied. Please paste this link to share this article on your social media post.
Why the served data will go back to SBO? What is the application? Multiple ES connection? And the reason we used SmartConnector over EWS is due to the performance issue?
丁晓炯 Andrew Ding | Schneider Electric | Eco Business & Buildings Business | System Test & Validation Center Manager
Phone: 86-021-60656910<tel:86-021-60656910> | Fax: 86-021-60768997<tel:86-021-60768997> | Mobile: 86-18621361697<tel:86-18621361697>
Email: XiaoJiong-Andrew.Ding@schneider-electric.com<mailto:XiaoJiong-Andrew.Ding@schneider-electric.com> | Site: www.schneider-electric.cn<http://www.schneider-electric.cn/> | Address: 上海市普陀区云岭东路89号长风国际大厦13层<x-apple-data-detectors://10/3> 13F, Chang Feng International Tower, 89 Yunling Road<x-apple-data-detectors://11> (East), Putuo District, Shanghai P.R.C, 200062
在 2017年3月30日,23:42,Mark Stemmler <schneider-electric@jiveon.com<mailto:schneider-electric@jiveon.com>> 写道:
The Exchange Community <https://community.se.com/?et=watches.email.thread>
Re: License issue and EWS with SmartConnector
reply from Mark Stemmler<https://community.se.com/people/sesa180908?et=watches.email.thread> in SmartConnector Developer - View the full discussion<https://community.se.com/message/104770?commentID=104770&et=watches.email.thread#comment-104770>
Link copied. Please paste this link to share this article on your social media post.
The common flows which SmartConnector facilitates are documented in the SmartConnector Developers Guide.pdf
Since your original question is no longer an issue, I'm going to close this thread. Feel free to add a new post if you have specific questions with your application.
Link copied. Please paste this link to share this article on your social media post.
Hi Andrew,
Can you please describe in detail what you are trying to accomplish (any information about the capabilities of the 3rd party system too) so that we may recommend the best way to proceed?
If you simply need to get data from SBO and are able to extract it via a 3rd party tool via a RESTful web service. Then you can do as Mark said, and stand up SmartConnector EWS Restful gateway configured to read data from your SBO server.
If the 3rd party system, needs the data in a specific format, then you will need to write code to extract the data via EWS (using Ews.Client) and then do whatever you need to with the data.
If you were to want the data from the 3rd party system to be shared with SBO (e.g. data from 3rd party, shows up in SBO). This is where you need to create an EWS Server in SmartConnector. Then SBO can consume the data that you populate in the SmartConnector EWS Server.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Jeffrey & Mark,
Thanks for your great help. I will try on this. But now the license issue comes up again. I checked the ID and found it is changing if I connect to Internet and disconnect. This is the change I found today, and I guess the ID changed every day recently, which caused me to apply license every day. Please see my screenshot here. The SmartConnector used is the newest version, and I am using Win 10.
Link copied. Please paste this link to share this article on your social media post.
One of the things that the thumbprint for a machine is based on is the MAC Address for the primary NIC. When the thumbprint is validated, we do consider any active NIC. Because of this, if you disable the NIC that was active when you generated the thumbprint, it will not validate at run time.
There was an issue regarding the presence of a USB "thumb drive" affecting the thumbprint validation algorithm.
Link copied. Please paste this link to share this article on your social media post.
Hi Mark,
Thanks for the reply. I know the reason for the NIC issue now. Appreciate.
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.