IsWsdlRequested()) // WSDL requested by the client? $soap->Optimize=false; // Don't optimize WSDL to send it human readable to the browser $soap->ParseDocs=false; // Uncomment this line to disable the whole documentation features $soap->SoapServerOptions = ['soap_version' => SOAP_1_2]; // Setting proper soap_server version //$soap->IncludeDocs=false; // Uncomment this line to disable writing the documentation in WSDL XML //$wsdl=$soap->CreateWsdl(); // This would save the WSDL XML string in $wsdl //$php=$soap->OutputPhp(false,false); // This would save a PHP SOAP client as PHP source code string in $php //$html=$soap->OutputHtml(false,false); // This would save the HTML documentation string in $html $soap->RunServer(); // Finally, run the server mysql_close($polacz);