Update WSDLCreator.php

replace apache_request_headers with new function getallheaders