I want to provide an webservice server, written in SOAP.
Clients from other Hosts should get data from my SOAP server, but I canīt guarantee, that SOAP is installed at the client.
Is it possible to request a SOAP server with a "default shared webhosting" setup?
And if yes, what library makes this possible? XML_RPC perhaps?
SOAP is standard XML with a specific namespace. That said, all the client needs is the ability to parse XML. Now, it's hard for me to think of a language that DOESN'T support soap. Heck, you could make an AJAX call with Javascript and parse SOAP . XML_RPC and SOAP are two different ways to meat the same goal. So no, they're not the same thing, nor is XML_RPC a "library" to handle SOAP calls.
First let's make this clear: SOAP is one thing, and XML-RPC is another thing.
Both allow you to provide webservices, but both work very differently.
Since you want to provide an webservice using SOAP. I'd advise you to use NuSOAP which is an excelent PHP toolkit to create your webservice server or client. If you search around the web for a way to create a server using NuSOAP, you'll find a whole range of examples from which you can learn
Iīve tested NuSOAP, it works great.
Iīm not a big fan of PEAR .. you need to include to much, installation is not as easy as it is with NuSOAP, and so on.
Iīll give NuSOAP a chance.
But unfortunately I didnīt found many complex examples with NuSOAP, are there any good further readings?
On my own Server, using the SOAP extension is no problem.
But what if I have to do a job on a shared host? Not many hosters provide the SOAP extension.
I guess the answer to your point is pretty obvious: If they don't supply PHP5 and soap extension move hosting company, or else go back to PHP4 and nusoap.
Bookmarks