The short answer is yes and yes
However a longer answer is
sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 20 17:15:30 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> exec dbms_xdb.sethttpport(8080);
BEGIN dbms_xdb.sethttpport(8080); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_XDB.SETHTTPPORT' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored