If you want to run dummy SoapServer as a daemon for tests on linux, you need to:
1. Set up location "localhost:12312/soapServer.php" in your wsdl like:
<wsdl:service name="ServiceName">
<wsdl:port name="ServiceNamePort" binding="tns:ServiceNameBinding">
<soap:address location="http://localhost:12312/soapServer.php" />
</wsdl:port>
</wsdl:service>
2. Write your test server like:
<?php
/*
* Server
*/
class TestSoapServer
{
public function getMessage()
{
return 'Hello, World!';
}
}
$options = ['uri' => 'http://localhost:12312/'];
$server = new SoapServer(null, $options);
$server->setClass('TestSoapServer');
$server->handle();
?>
3. Run it with `php -S localhost:12312` (in the same folder)
Whenever you make a request according to your wsdl, it will end up at your "server".