I provide a workaround patch with this ticket. This patch should not be applyed because it does not solve the problem very well. ws_generate_wsdl in wsf.php receives a request url without scheme prefix. so i had to decide by selecting the port number which scheme prefix to set. I think it would be bether to call the ws_generate_wsdl function and provide a valid request URL with scheme prefix like https://hostname/path... and then set this prefix instead of the WS_WSDL_HTTP_ATTR_NAME const.