SOAP + globals
| From: | Kjartan Mannes | Date: | Sun, 14 Apr 2002 09:55:34 +0000 |
| Subject: | SOAP + globals | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-5457@lists.php.net to get a copy of this message | ||
I had some serious problems with SOAP when including it in an include
file that was included from within a function. In the end I tracked it
down to a problem with the globals. Adding:
global $SOAP_XMLSchema, $SOAP_typemap, $SOAP_namespaces, $SOAP_namespaces_default,
$SOAP_Encodings, $SOAP_xmlEntities;
to globals.php and the functions calling the SOAP_Client methods seems
to solve the problem. This more of what I would call a hack than a
working solution.
--
Kjartan <kjartan@zind.net> (http://natrak.net/)
:: "Evil exists to glorify the good. Evil is negative good. It
is a relative term. Evil can be transmuted into good. What
is evil to one at one time, becomes good at another time to
somebody else." - Sivananda