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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

SOAP API Not Connecting

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
  • SOAP API Not Connecting
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
109
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
Solved Go to Solution
Back to EcoStruxure IT forum
Solved
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

0 Likes
6
2725
  • 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: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

SOAP API Not Connecting

Asking on behalf of Nicholas:

I am trying to get all asset tags from all servers in all rooms and their corresponding IP and/or name. I first want to get all server rooms and I am having no luck. I have followed the Youtube video posted here: with the URL: http://[IPAddress]:80/isxo/webservices/equipment/InventoryWebService-v2?wsdl I have also tried using Invoke-WebRequest and New-WebServiceProxy via powershell and I keep getting different behavior, none of which give me all server rooms!

(CID:106891427)

Labels
  • Labels:
  • Data Center Operation
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

0 Likes
0
2723
  • 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: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

I finally got it to work with PowerShell. I will post my solution for anyone who may need it in the future! $URI = 'http://[IP Address]:80/isxo/webservices/equipment/InventoryWebService-v2' $cred = Get-Credential $proxy = iwr -Uri $URI -Credential $cred -Method POST -infile request.xml -ContentType "text/xml" [xml]$result = $PROXY.Content The request.xml will just contain the XML content of what you would like to do, copy and paste from here: Inventory web service calls

(CID:106892073)

See Answer In Context

Reply

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

Replies 6
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

0 Likes
0
2723
  • 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: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

Hi Nicholas, Stein

I assume DCO 7.5 - not v8.  When I have issues with SoapUI it's usually

  • I have neglected to put correct UN & PW
  • The UN doesn't have access to the API
  • The URL is wrong, port or IP

I see you're using v2.  Any reason why such an old version?  Can you try v8?

Cheers

Ed

(CID:106891518)

Reply

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

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

0 Likes
2
2723
  • 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: ‎2020-07-03 04:40 AM . Last Modified: ‎2024-04-08 11:35 PM

The http://[IPAddress]:80/isxo/webservices/equipment/InventoryWebService-v2?wsdl url returns the wsdl for the SOAP API.

When calling the API you want to use the url http://[IPAddress]:80/isxo/webservices/equipment/InventoryWebService-v2.

 

What are the different behavior you are getting when using PowerShell?

Btw. there actually is a v9 of that API

 

(CID:106891543)

Reply

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

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

In response to DCIM_Support
0 Likes
0
2723
  • 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: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

I am now getting it to work on SOAP API, but I would much rather use powershell. When I create a proxy with the wsdl and try to call $proxy.getAllServerRooms() i get an error about 0 arguments. This method does not need arguments?? [xml]$response = $proxy.getAllServerRooms() Exception calling "getAllServerRooms" with "0" argument(s): "Unable to connect to the remote server" $proxy = New-WebServiceProxy -Uri $URI -Credential $cred At line:1 char:1 + [xml]$response = $proxy.getAllServerRooms() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException When I try to Invoke-WebRequest I get either a InvalidOperation error or a "cannot send a content-body with this verb type, if I use a get request. iwr -Uri $URI -Credential $cred -Body .\request.xml -Method POST iwr : soap:ClientError reading XMLStreamReader. At line:1 char:1 + iwr -Uri $URI -Credential $cred -Body .\request.xml -Method POST + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

(CID:106891630)

Reply

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

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

In response to DCIM_Support
0 Likes
0
2723
  • 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: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

I have no experience with PowerShell. It looks like the error you are getting in your first example is "Unable to connect to the remote server". It looks like the information about 0 arguments is not the error. If the proxy is generated based on the wsdl be aware that the port is hardcoded to 8080 in the WSDL. The SOAP services only works with POST requests to my knowledge.

(CID:106891634)

Reply

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

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

0 Likes
0
2724
  • 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: ‎2020-07-03 04:41 AM . Last Modified: ‎2024-04-08 11:35 PM

I finally got it to work with PowerShell. I will post my solution for anyone who may need it in the future! $URI = 'http://[IP Address]:80/isxo/webservices/equipment/InventoryWebService-v2' $cred = Get-Credential $proxy = iwr -Uri $URI -Credential $cred -Method POST -infile request.xml -ContentType "text/xml" [xml]$result = $PROXY.Content The request.xml will just contain the XML content of what you would like to do, copy and paste from here: Inventory web service calls

(CID:106892073)

Reply

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

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 04:41 AM . Last Modified: ‎2023-10-31 11:35 PM

0 Likes
0
2723
  • 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: ‎2020-07-03 04:41 AM . Last Modified: ‎2023-10-31 11:35 PM

superhero.png

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.

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