You are here

class SessionService2 in GlobalLink Connect for Drupal 7.5

Same name and namespace in other branches
  1. 7.6 gl_ws/client/SessionService2.php \SessionService2

SessionService2 class

@author {author} @copyright {copyright} @package {package}

Hierarchy

Expanded class hierarchy of SessionService2

File

gl_ws/client/SessionService2.php, line 35

View source
class SessionService2 extends SoapClient {
  private static $classmap = array(
    'login' => 'login',
    'loginResponse' => 'loginResponse',
    'logout' => 'logout',
    'logoutResponse' => 'logoutResponse',
  );
  public function SessionService2($wsdl = 'http://localhost:8080/pd4/services/SessionService2?wsdl', $options = array()) {
    foreach (self::$classmap as $key => $value) {
      if (!isset($options['classmap'][$key])) {
        $options['classmap'][$key] = $value;
      }
    }
    parent::__construct($wsdl, $options);
  }

  /**
   * Logs out.
   *
   * @param logout $parameters
   *
   * @return logoutResponse
   */
  public function logout(logout $parameters) {
    return $this
      ->__soapCall('logout', array(
      $parameters,
    ), array(
      'uri' => 'http://impl.services2.service.ws.projectdirector.gs4tr.org',
      'soapaction' => '',
    ));
  }

  /**
   *
   *
   * @param login $parameters
   * @return loginResponse
   */
  public function login(login $parameters) {
    return $this
      ->__soapCall('login', array(
      $parameters,
    ), array(
      'uri' => 'http://impl.services2.service.ws.projectdirector.gs4tr.org',
      'soapaction' => '',
    ));
  }

}

Members