src/Payum/Payex/Api/BaseApi.php
protected function call($operation, array $parameters, $serviceWsdl)
    {
        $client = $this->clientFactory->createWsdlClient($serviceWsdl);

        $response = @$client->$operation($parameters);

        $result = $this->convertSimpleXmlToArray(new \SimpleXMLElement($response->{$operation.'Result'}));

        $result = $this->normalizeStatusFields($result);
        $result = $this->removeHeader($result);
        $result = $this->removeObsolete($result);

        return $result;
    }
protected function call($operation, array $parameters, $serviceWsdl)
    {
        $client = $this->clientFactory->createWsdlClient($serviceWsdl);

        $response = @$client->$operation($parameters);

        $result = $this->convertSimpleXmlToArray(new \SimpleXMLElement($response->{$operation.'Result'}));

        $result = $this->normalizeStatusFields($result);
        $result = $this->removeHeader($result);
        $result = $this->removeObsolete($result);

        return $result;
    }
@param string $operation
@param array  $parameters
@param string $serviceWsdl

@return array