The service_name may or may not be the ORACLE_SID. It is setup via the init.ora file with the "service_names" parameter. You can check this parameter by:
select name, value from v$parameters
where name like 'service%'
/