PDA

View Full Version : changes to SOAP classes


Andy
12-06-07, 15:07
The new version of class.php5Client.php seems to have had a good effect.

A search for the obligatory "chocolate" has sped up from 19.4 seconds to around 12 seconds.
well done, nice improvement.

class.php4Client.php however appears to contain errors.

the first error is on the first line of code:
require_once('constants.inc.php');

should be:
require_once(HOME_PATH.'includes'.DIRECTORY_SEPARA TOR.'soap'.DIRECTORY_SEPARATOR.'constants.inc.php' );


require_once('nusoap/nusoap.php');
should be:
require_once('nusoap'.DIRECTORY_SEPARATOR.'nusoap. php');


But even then i get a wierdness i can't debug.
The api is returning this errorWSDL file cannot be loaded from [API_WSDL]
Not sure where to start looking for that so ive dropped my old version back in for now.

Confuscius
12-06-07, 15:27
I can also confirm that the php4 new version has catastrophic effects! Now no results returned at root level, etc.

I have also reverted back!

Paul

digitalwindow
14-06-07, 10:38
Hi Guys,

Sorry, I've uploaded the wrong file before.

Please get the correct latest version at:

http://www.shopwindowforum.com/showthread.php?t=208


Cheers

Confuscius
14-06-07, 17:06
Hi Amo

The file linked to does not still appear to be functioning - anyone got a functioning site using the 'latest' replacement for the php4 file?

Paul

Andy
15-06-07, 19:37
Not I Paul.
I downloaded it and all the obvious errors were changed, but ther's something not quite right so I reverted back again.

authcode
16-06-07, 08:30
I think I got the file (php4) just after it had been updated and haven't had any problems with this new gzip version.