Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Webservice its not about PHP only !
Web services are client and server applications that communicate over the World Wide Web's
And you can use many protocol to do this .
Example :
1-Weather Web service :
You can use this to get weather condition about your current city .
URL Example : http://www.webservicex.net/globalweather.asmx?wsdl
2-Money Converter Web service:
You can use this to get currencies rate from a provider .
Code Exnaple :
$client=newSoapClient("http://www.webservicex.net/globalweather.asmx?wsdl");
$params=new stdClass;$params->CityName='Auckland';
$params->CountryName='New Zealand';
$result= $client->GetWeather($params);// Check for errors...
$weatherXML= $result->GetWeatherResponse;
I hope this is helpfull
Take the abstraction
-------------------------------------------------------------------------
The basic Web services platform is XML + HTTP.
XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions.
The HTTP protocol is the most used Internet protocol.
Web services platform elements: