Most certainly. .net webservices output nothing more than XML. As long as you have something in PHP that can read and query (if necessary) XML than you can use .net web services. The webservice can be called with either a GET or POST or using SOAP (which is basically a more complicated GET where you send the details of the request in the headers instead of the querystring. Unless you want to write the POST or SOAP request manually, it's easiest to use the GET method if the web service you want to use supports it. Of course, if you are going to create the web service than you can ensure that it supports the GET method.
Any XML document object that you can use in PHP should be able to use the webservice. Most XML DOMs have a method to load the XML from a URL (versus just a local file or string). You just need to provide the XML object with the webservice URL (complete with querystring information if necessary) and you'll be able to load up the result of the webservice into the XML object for use.
Peter
------------------------------------------------------
Work smarter, not harder.
|