вторник, юли 06, 2010

Echo variable value from SOAP server to caller for debugging

A fast way to return a variable value for debugging without need to create objects to pass back to the caller.
Somewhere in the SOAP server code:
throw new SoapFault('My Server Error', var_export($variable_value_to_return, true));

2 коментара:

Анонимен каза...

I would like to exchange links with your site penkovski.blogspot.com
Is this possible?

Lyuben Penkovski каза...

Hi, what do you mean?