The DBWSBuilder utility requires a DBWS configuration file as input. Note that returnType is set to SOMEPACKAGE_ARECORD; this value indicates a complex type in the schema, which is constructed based on (in this case) the contents of the package SOMEPACKAGE. The generated schema would contain complex types for each type in the package, i.e. SOMEPACKAGE_TBL1SOMEPACKAGE_TBL2SOMEPACKAGE_ARECORD.