in reply to Quick and Dirty SOAP Wrapper

The right direction would be to abandon PHP and use Perl.