$responseType = self::getResponseTypeFromSystem();
// Create a new request object
- $requestInstance = ObjectFactory::createObjectByName(self::convertToClassName($response) . 'Request');
+ $requestInstance = ObjectFactory::createObjectByName(sprintf('\CoreFramework\Request\%sRequest', self::convertToClassName($response)));
// Remember request instance here
$this->setRequestInstance($requestInstance);
} // END - if
// ... and a new response object
- $responseClass = sprintf('%sResponse', self::convertToClassName($response));
+ $responseClass = sprintf('\CoreFramework\Response\%sResponse', self::convertToClassName($response));
$responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
// Remember response instance here