Sha256: 065c862a3034048e904f3176b2a706bb9b01b5aca55f03f7f58d89523231748a
Contents?: true
Size: 1.67 KB
Versions: 2
Compression:
Stored size: 1.67 KB
Contents
# encoding: UTF-8 # # Copyright 2010 Dan Wanek <dan.wanek@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'httpclient' require 'builder' require 'gyoku' require 'base64' # SOAP constants for WinRM module WinRM NS_SOAP_ENV = 's' # http://www.w3.org/2003/05/soap-envelope NS_ADDRESSING = 'a' # http://schemas.xmlsoap.org/ws/2004/08/addressing NS_CIMBINDING = 'b' # http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd NS_ENUM = 'n' # http://schemas.xmlsoap.org/ws/2004/09/enumeration NS_TRANSFER = 'x' # http://schemas.xmlsoap.org/ws/2004/09/transfer NS_WSMAN_DMTF = 'w' # http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd NS_WSMAN_MSFT = 'p' # http://schemas.microsoft.com/wbem/wsman/1/wsman.xsd NS_SCHEMA_INST = 'xsi' # http://www.w3.org/2001/XMLSchema-instance NS_WIN_SHELL = 'rsp' # http://schemas.microsoft.com/wbem/wsman/1/windows/shell NS_WSMAN_FAULT = 'f' # http://schemas.microsoft.com/wbem/wsman/1/wsmanfault NS_WSMAN_CONF = 'cfg' # http://schemas.microsoft.com/wbem/wsman/1/config end require 'winrm/exceptions/exceptions' require 'winrm/winrm_service' require 'winrm/http/transport'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
winrm-1.7.3 | lib/winrm/soap_provider.rb |
winrm-1.7.1 | lib/winrm/soap_provider.rb |