Koozali.org: home of the SME Server

How To Configure PHP 4.3.9 With Soap

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
How To Configure PHP 4.3.9 With Soap
« on: July 21, 2010, 01:25:12 PM »
Hi, it's been a while since I've been in here so please forgive me for not being 'up to date'.

I've got a project on the go that requires me to access an external website through an API they have that uses SOAP. I've probably bitten off more than I can chew with this, but I've setup a spare machine with SMEServer 7.5 specifically for the purpose. Ultimately, once designed, this machine will be left on permanently to do its 'thing'.

The external API requires the use of SSL, XML and SOAP, but I can't tell if the latter is installed with PHP 4.3.9. I've used phpinfo() and cannot see any reference to SOAP.

Is SOAP normally installed with the default installation of SMEServer 7.5 and if not, how do I go about installing?

Thanks in advance
Alistair...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: How To Configure PHP 4.3.9 With Soap
« Reply #1 on: July 21, 2010, 05:55:46 PM »
Do you really need SME Server? It seems overkill to me to install SME Server just for SOAP, let alone that it will be a search for a suitable php-pear-soap RPM and the fact that SME Server ships with PHP 4, where PHP 5 is the current standard.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Re: How To Configure PHP 4.3.9 With Soap
« Reply #2 on: July 21, 2010, 06:31:29 PM »
Hi Cactus,

I used SMEServer because I also needed a file/print server and it's a doddle to setup. I've also got the Ubuntu Server disks, but I'm not familar with setting one up and I don't, at the moment, have the free time to learn.

If it's straight forward to do then perhaps I'll do that as I already use Ubuntu on the desktop.
Alistair...

Offline warren

  • *
  • 293
  • +0/-0
Re: How To Configure PHP 4.3.9 With Soap
« Reply #3 on: July 21, 2010, 09:31:37 PM »
Hi Alistair

You could look at implementing NuSoap : Easy to set up as its a group of php classes. See more at :

http://www.scottnichol.com/nusoapintro.htm

Offline AlistairH

  • **
  • 28
  • +0/-0
    • http://www.betamicrosolutions.com
Re: How To Configure PHP 4.3.9 With Soap
« Reply #4 on: July 21, 2010, 09:35:04 PM »
Thanks Warren, I'll take a look at that.
Alistair...