class Openwsman::Soap

Soap represents a part of a SoapOp used to create and reference context information.

There is no constructor for Soap, use SoapOp.soap to access the Soap instance associated with a SOAP operation.

Public Instance Methods

context → Openwsman::Context click to toggle source

Get the current Context

WsContextH context() {
    return ws_get_soap_context($self);
  }

  /*
   * Create a new endpoint Context
   * call-seq:
   *   soap.create_ep_context -> Openwsman::Context
   *
   */
  WsContextH create_ep_context( WsXmlDocH doc ) {
    return ws_create_ep_context( $self, doc );
  }
}
create_context → Openwsman::Context click to toggle source

Create a new Context

WsContextH create_context() {
    return ws_create_context($self);
  }
  /*
   * Get the current Context
   * call-seq:
   *   soap.context -> Openwsman::Context
   *
   */
  WsContextH context() {
    return ws_get_soap_context($self);
  }

  /*
   * Create a new endpoint Context
   * call-seq:
   *   soap.create_ep_context -> Openwsman::Context
   *
   */
  WsContextH create_ep_context( WsXmlDocH doc ) {
    return ws_create_ep_context( $self, doc );
  }
}
create_ep_context → Openwsman::Context click to toggle source

Create a new endpoint Context

WsContextH create_ep_context( WsXmlDocH doc ) {
    return ws_create_ep_context( $self, doc );
  }
}