ps_schemaPXB.pl - example of the data model definitions and API building script utilization for perfSONAR-PS project
run this script - perl ps_schemaPXB.pl, it will create temp directory with all modules and temp/t directory with test files, chdir to temp and run perl ./test.pl to test generated API. See DataModel.pm,SOnar_Model.pm and PingER_Model.pm> for model definitions. Please note how data model modules loaded. In order to eliminate namespace conflicts its done at the runtime.
This is the real life example and generated classes are currently utilized by perfSONAR-PS webservices.