My soap client is working fine and I’m looking for a way send data from soap client (written in c) to soap server written in php.
What I know the basic initiate in php like the following
$soapServer= new SoapServer("test.wsdl");
$soapServer->setClass('myClass');
$data = file_get_contents('php://input');
$soapServer->handle();
But exactly how can I let php “listen” and receive data from soap client?
Any idea?
If you generate a SOAP server, you have to define your functions:
You make a function
Now add that function to your SOAP service
That function getItemCount is added to your SOAP service
To test this with a client:
For more information and details http://jimmyzimmerman.com/blog/2007/02/soap-server-with-php5-part3-the-glue-code.html