Module WsMan
In: rwsman.c
rwsmanc_identify.c
rwsman_xmldoc.c
rwsman_xmlattr.c
rwsman_client.c
rwsman_clientoption.c
rwsman_xmlnode.c

method_missing is used to access node children by name.

Methods

debug   debug=  

Classes and Modules

Class WsMan::Client
Class WsMan::ClientOption
Class WsMan::Identify
Class WsMan::XmlAttr
Class WsMan::XmlDoc
Class WsMan::XmlNode

Constants

NS_SOAP = "http   //www.w3.org/2003/05/soap-envelope"
NS_WSMAN = "http   //schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
NS_NAMESPACES = "http   //www.w3.org/XML/1998/namespace"
NS_ADDRESSING = "http   //schemas.xmlsoap.org/ws/2004/08/addressing"
NS_DISCOVERY = "http   //schemas.xmlsoap.org/ws/2004/10/discovery"
NS_EVENTING = "http   //schemas.xmlsoap.org/ws/2004/08/eventing"
NS_ENUMERATION = "http   //schemas.xmlsoap.org/ws/2004/09/enumeration"
NS_TRANSFER = "http   //schemas.xmlsoap.org/ws/2004/09/transfer"
NS_SCHEMA = "http   //www.w3.org/2001/XMLSchema"
NS_SCHEMA_INSTANCE = "http   //www.w3.org/2001/XMLSchema-instance"
NS_WSMAN_ID = "http   //schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd"

Public Class methods

Return openwsman debug level.

[Source]

/*
 * call-seq:
 *   WsMan::debug
 *
 * Return openwsman debug level.
 */

static VALUE
rwsman_debug_get( VALUE module )
{
    debug_level_e d = wsman_debug_get_level();
    return INT2FIX( d );
}

Set openwsman debug level.

[Source]

/*
 * call-seq:
 *   WsMan::debug = 1
 *   WsMan::debug = 0
 *
 * Set openwsman debug level.
 */

static VALUE
rwsman_debug_set( VALUE module, VALUE dbg )
{
    static int init = 0;
    int d = FIX2INT( dbg );

    if (!init && d != 0) {
        init = 1;
        debug_add_handler( debug_message_handler, DEBUG_LEVEL_ALWAYS, NULL );
    }
    wsman_debug_set_level( d );

    return Qnil;
}

[Validate]