[horde] Horde+SoapServer: error in non-wsdl mode: can't find encoding and bad response in ws (partly-solved)
jan at horde.org
Tue Jun 16 15:32:07 UTC 2009
Zitat von Roberto Polli <rpolli at babel.it>:
> Hi all,
> I got find a kludge to solve a series of issues with horde
> Issues are present on various independent test nodes.
> environment: php5 + ubuntu hardy
> issues are:
> * bad responses by ws (not wsdl compliant)
> * bad error codes (it always returns "can't find encoding")
> it seems that it's related to SoapServer in non-wsdl mode.
> in PhpSoap.php
>> $this->_server = new SoapServer(null,
>> array('uri' =>
>> Horde::url($GLOBALS['registry']->get('webroot', 'horde') .
>> true, false)
> we're running php in non-wsdl mode.
> if I change with a STATIC reference to the wsdl (a dinamic one will cause an
> infinite loop), all those issue were resolved
>> $this->_server = new SoapServer("http://localhost/wsdl.xml");
> Don't know why..but that's it.
> Note: putting a dynamic reference like
>> $this->_server = new SoapServer(
>> Horde::url($GLOBALS['registry']->get('webroot', 'horde')
> causes an infinite loop, so avoid it.
> Hope somebody can make it clear.
Try if these commits work better:
Do you need professional PHP or Horde consulting?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
More information about the horde