Re: has anyone use a SoapClient within a SoapServer implementation inphp5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks,

I came to the same conclusion shortly after writing this note and submitted as a bug (Bug #36854) on bugs.php.net.

I got a response from there to use the latest CVS build
of php 5.1 (5.1.3RC2) and it was fixed.

-Mark

Dmitry Stogov wrote:
This is probably a bug.
Please open bug report on http://bugs.php.net/ with small reproduce case.
You can assign it to "dmitry" to get fix faster.

Thanks. Dmitry.

-----Original Message-----
From: mslemko [mailto:mslemko@netscape.net] Sent: Saturday, March 25, 2006 2:56 AM
To: soap@lists.php.net
Subject: has anyone use a SoapClient within a SoapServer implementation inphp5?


Hi,

I'm wondering if anyone has had this same problem and found a workaround?

I am trying to use a SOAP client within a SOAP server and it caused the SOAP server to fail to respond properly to its clients with a SoapFault when a problem arose. It works fine if there is no error to return to the client.

so a diagram might help...

[SOAP Client A]
    |
    |
[SOAP Server A]
   +[SOAP Client B] ---> [SOAP Server B]
   +[return SoapFault]

...looks like we got no XML document...

The response (SoapFault) to the SOAP Client A looks like it is empty. I'm wondering if the SoapFault mechanism is corrupted by the SoapClient initialization. I've tested the idea of faking a response from the SOAP Server B, i.e. don't create a SOAP Client B, and the returning SoapFault works as expected.

tested on these:
PHP 5.1.2
IIS 6

PHP 5.1.1
Apache 2

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux