/** * @param string $method * @param array $data * @return mixed */ protected function call($method, array $data = []) { $this->client->setWsdl(self::WSDL); $this->client->setSchema(self::SCHEMA); $response = $this->client->call($method, $data); $this->setLastResponse($response); return $response; }