Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

DCE Integration Services

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • DCE Integration Services
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
108
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure IT forum
silvio.filho
Ensign silvio.filho
Ensign

Posted: ‎2021-11-04 11:11 AM

1 Like
1
1152
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-04 11:11 AM

DCE Integration Services

Hi People, can anyone help me please?

 

I`m try some tests with DCE API and facing some problems.

 
I was reading the documentation of DCE API and i had some doubts.
 
First of All, when I try to use
 
htt..://<server>/integration/services/<WSDL>?wsdl, 
 
in <WSDL> I had tried to use getAllDevices service, but when I try it I receive a list of services and need to use the url below
 
htt...//<server>/integration/services/ISXCentralDeviceGroupService_v2_0?wsdl
 
In this moment i had two doubts.
 
First - How do I need to send credentials in my requests?
 
Second - How do I need to send the services that I want to use, like getAllDevices method?
 
I need do this tests because in a lot of moments we need to say for or customers if an integration are possible or not.
 
Labels
  • Labels:
  • Data Center Expert
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Reply 1
Shaun
Commander Shaun Commander
Commander

Posted: ‎2021-11-04 11:43 AM

2 Likes
0
1147
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-11-04 11:43 AM

Hi @silvio.filho,

 

First I should warn we have rather limited support for the web services API.  In general we support that the API is working, but what you do with it is your problem, unless you're paying for custom services.  So just to set expectations - what follows is a best-effort courtesy.

 

For everything but the ws-events api, authentication is just http-basic.  I believe ws-events used a session-based token where you authenticate to receive a token, then further requests just use that token.

 

For actual requests, the API is all using SOAP, which is XML based - so requests are made by posting appropriately shaped chunks of XML, and the replies come back similarly. The WSDL itself isn't the api endpoint, it's a file that describes the requests that can be made.

 

I typically use a library for this - either the built-in soap support in php5, or zeep for python3. (Others exist, I know dotnet like their SOAP too, these are just the ones I have any experience with).

 

What follows is the shortest example I have, to retrieve a single datapoint from a single monitored device.  Hopefully it'll give you some ideas to get you in the right direction.  I won't vouch for the code quality - I'm tech support, not a programmer.  But hopefully you'll get the gist.

 

#!/usr/bin/env python3

from requests import Session
from requests.auth import HTTPBasicAuth

import zeep
from zeep import xsd
from zeep.transports import Transport

# https://github.com/mvantellingen/python-zeep/blob/master/examples/http_basic_auth.py

session = Session()
session.auth = HTTPBasicAuth('readonly', 'readonly')  # user & pass
transport_with_basic_auth = Transport(session=session)

# I need to connect to the DeviceService to translate an IP to a deviceID
# .10 is my DCE
device = zeep.Client(
   wsdl='http://10.216.253.10/integration/services/ISXCentralDeviceService_v2_0?wsdl',
   transport=transport_with_basic_auth
)

# and the SensorService to retrieve a value from the device.
sensor = zeep.Client(
    wsdl='http://10.216.253.10/integration/services/ISXCentralSensorService_v2_0?wsdl',
    transport=transport_with_basic_auth
)

# get an ISXCDevice for our chiller unit. .102 is my chiller.
crac = device.service.getDeviceByIPAddress('10.216.253.102')

# Copy the device ID just to save me typing later
crac.id = crac.ISXCNamedElement.ISXCElement.id

# Pull the sensor data; inserting '?' for the locale to stop it panicing.
crac.return_air_temp = sensor.service.getSensorData('?', crac.id+"_RETURN_AIR_TEMP")

print("If the script hasn't died yet, we should have a result of "+crac.return_air_temp.value+" "+crac.return_air_temp.units+" from device "+crac.hostName);
print(crac.return_air_temp)

 

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of