you're right. all you have to do is create a simple PHP web service that accepts the request / xml / file and then saves it to the database. then you can use webservice using any technology, C # for confidence. in order to write a web service in PHP, I think it is better to choose the type of webservice in the first step. it can be a REST, SOAP, or XML-RPC web service. it depends on the difficulty level of your application.
if your application is as simple as just throwing a string in a web service or file URL, so the web service can store that string or extract a file from the URL and store it in the database, I return REST. because it is easier. as simple as writing a simple PHP script that uses it as input to HTTP.
but you want it to be safer or have more complex needs. It is easy to have SOAP services in PHP. if you want to work with SOAP, PHP has an extension (php-soap) that you can install and use the built-in functions of PHP-SOAP. if you are using an older version of PHP that does not support the extension, or your application is placed where php-soap is not installed, there is a pure PHP SOAP protocol implementation called nusoap. It is open source and works very well.
http://sourceforge.net/projects/nusoap/
source share