Archive | July, 2010

My Twitter Updates for 2010-07-25

25 Jul

My Twitter Updates for 2010-07-18

18 Jul

Leonard Austin’s Twitter Updates for 2010-07-11

11 Jul

PHP Soap Server Error – Procedure not present

7 Jul

I’m currently building a soap service using zend framework. I am developing on a local windows envirment using xampp. When adding a new method to the web service class I was able to call it locally and everything worked a treat, however as soon as I uploaded it to the Centos box it broke with the following error:

"Procedure 'xxx' not present"

Error would look more or less like this:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Procedure 'gettwotandomitems' not present</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Basically PHP is caching the generated WSDL file and you need to delete the cache. All of the cached files for me where kept in /tmp however you can double check by looking in the phpinfo() file.

To fix that problem delete all of the cahced files, then try the soap call again and everything should work fine.

Hope it helps.

Credit goes to: http://artur.ejsmont.org/blog/content/php-soap-error-procedure-xxx-not-present

Leonard Austin’s Twitter Updates for 2010-07-04

4 Jul

  • I'm at Whitelocks (Leeds). http://4sq.com/63G4GA #
  • @AlicePWilson it's alright tomorrow is Friday! And you've only got like 3 weeks before a massive teacher sized holiday! in reply to AlicePWilson #
  • Trying out @oDesk for the first time, trying to sort through candidates but seems to be running very slow. Rather annoying. #
  • @blinksale It would be really useful if you added a search payments option. Anyway to add this to a requested feature list? #
  • @hans_gelok Nope , I ended up using FPDF instead. in reply to hans_gelok #
  • Just got back from glasto, can't wait for my first shower in 4 days! #fb #