OK, but can we split this into two issues/pull requests? I'm not sure that we can't optimize it using other means. Also, do you use the SOAP extensions as opposed to nusoap?