/** * @see EPSInterface::getAddressNomenclature() */ public function getAddressNomenclature($sessionId, $nomenType, $countryId) { try { $getAddressNomenclatureStdObject = new stdClass(); $getAddressNomenclatureStdObject->sessionId = $sessionId; $getAddressNomenclatureStdObject->nomenType = $nomenType; $getAddressNomenclatureStdObject->countryId = $countryId; $response = parent::getAddressNomenclature($getAddressNomenclatureStdObject); if (isset($response->return)) { $getAddressNomenclature = $response->return; } else { $getAddressNomenclature = null; } return $getAddressNomenclature; } catch (SoapFault $sf) { throw new ServerException($sf); } }