Page 1 of 1

PHP SOAP

Posted: Sat Oct 15, 2005 1:40 am
by vivekjain
Hi,

Can anyone explain me a practical use of PHP SOAP?

Thanks

Posted: Sat Oct 15, 2005 8:10 am
by feyd
interaction with Google Maps :)

Posted: Sat Oct 15, 2005 2:31 pm
by hanji
The SOAP protocol allows applications to talk to each other and pass data. This eliminates the need for the applications to be on the same server or share the same server side language. For instance, a 'news' site could be written in ASP.NET at HostA, but you PHP application, at HostB could query it's database to pull relevent news stories using a shared XML protocol called SOAP. The data and requests are sent in XML format. Using a SOAP client you could present the data. Setting up a SOAP server you could offer your data to others.

So feyd's suggestion of Google Maps is a great example. You could interact with Google's SOAP service to use their mapping engine.

If you're interested in SOAP.. I would recommend nuSOAP class.. and/or Pear-SOAP

hanji