Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using WinRM with WSDL file? [closed]

I'm interested in adding to an open source project or creating my own interface into windows remote management service from Python.However, it is difficult to create such a service when there is no web service description file (WSDL) to explain to me what functions and objects are available in the SOAP web service provided by Windows.

What is the WSDL file for WinRM? Or am I supposed to connect use WinRM without it?

Link to the question on the MSDN forum.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/772aa67f-fe95-488a-ab9a-6bde3a42658e/how-to-get-winrm-wsdl-file?forum=windowsserversolutionssdk

like image 614
Rusty Weber Avatar asked Nov 28 '25 14:11

Rusty Weber


1 Answers

It's available in the open specifications document MS-WSMV which describes WSMan in large detail. The full document can be downloaded from the MSDN site:

https://msdn.microsoft.com/en-us/library/cc251526.aspx

It is detailed in appendix A (Full WSDL):

https://msdn.microsoft.com/en-us/library/dd366131.aspx

All that can be provided is links as the full WSDL far exceeds the character limit allowed in a post.

This document contain some minor errors which can be spotted, for example, by PyCharm.

XSDs:

http://schemas.xmlsoap.org/ws/2004/09/transfer/transfer.xsd
http://schemas.xmlsoap.org/ws/2004/08/eventing/eventing.xsd
http://schemas.xmlsoap.org/ws/2004/09/enumeration/enumeration.xsd

Correct attribute names:

minOccurs
maxOccurs
processContents

wsmanfault namespace is not used.

Some attributes are set explicitly to their defaults.

like image 55
ChadSikorra Avatar answered Dec 01 '25 08:12

ChadSikorra