Re: [fw-general] XML RPC calls no longer working in 1.5, possibly due to server introspection?

2008-07-10 Thread David Edwards



David Edwards wrote:
> 
> 
> Matthew Weier O'Phinney-3 wrote:
>> 
>> -- Jake McGraw <[EMAIL PROTECTED]> wrote
>> (on Wednesday, 09 July 2008, 12:19 PM -0400):
>>> I believe a lot of folks have been bit by this bug:
>>> 
>>> http://framework.zend.com/issues/browse/ZF-2978
>>> 
>>> The solution is posted here:
>>> 
>>> http://framework.zend.com/issues/browse/ZF-2978?focusedCommentId=20489#action_20489
>>> 
>>> Doesn't work because $_lastResponse is a private member so try using
>>> this:
>> 
>> 
>> Is this still the case for the 1.5.2 release or current trunk? The
>> indications on that bug are that it's fixed.
>> 
> 
> From VERSION.txt:
> 
> Zend Framework 1.5.2 (revision 9458)
> 
> I don't believe this is fixed.
> 
> --
> Dave
> 
Sorry, it /is/ fixed, in r9307. I was just confused because the revision
number for the latest 1.5.2 release was higher. I thought for a moment that
someone had taken the fix out, or something. Has the fix been merged into
the release branch?

--
Dave
-- 
View this message in context: 
http://www.nabble.com/XML-RPC-calls-no-longer-working-in-1.5%2C-possibly-due-to-server-introspection--tp18363733p18380297.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] XML RPC calls no longer working in 1.5, possibly due to server introspection?

2008-07-10 Thread David Edwards


Matthew Weier O'Phinney-3 wrote:
> 
> -- Jake McGraw <[EMAIL PROTECTED]> wrote
> (on Wednesday, 09 July 2008, 12:19 PM -0400):
>> I believe a lot of folks have been bit by this bug:
>> 
>> http://framework.zend.com/issues/browse/ZF-2978
>> 
>> The solution is posted here:
>> 
>> http://framework.zend.com/issues/browse/ZF-2978?focusedCommentId=20489#action_20489
>> 
>> Doesn't work because $_lastResponse is a private member so try using
>> this:
> 
> 
> Is this still the case for the 1.5.2 release or current trunk? The
> indications on that bug are that it's fixed.
> 

>From VERSION.txt:

Zend Framework 1.5.2 (revision 9458)

I don't believe this is fixed.

--
Dave
-- 
View this message in context: 
http://www.nabble.com/XML-RPC-calls-no-longer-working-in-1.5%2C-possibly-due-to-server-introspection--tp18363733p18377619.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] XML RPC calls no longer working in 1.5, possibly due to server introspection?

2008-07-09 Thread David Edwards

Hi,

We have been using the ZF XmlRpc classes to communicate with our payment
gateway for a while now, and this has worked fine for us in the past (using
1.0.x). However, in testing a newer version of the ZF libraries (1.5.x), our
XML RPC calls stopped working, giving out the error:

java.lang.Exception: RPC handler object "system" not found and no default
handler registered

Having dug around a bit, it appears that Zend_XmlRpc_Client now includes
some code to handle empty array parameters in the call() method (according
to the comments in the code), and it's in this block that the client makes
an additional method call (system.methodSignature), to which the gateway
server replies with the above error.

I'm a bit stuck as to what's happening here. Is it the case that the payment
gateway is breaking the XMLRPC spec (i.e. there should be a system object on
the other end)? Is there a way to get Zend_XmlRpc_Client not to perform
these calls? Any advice on the matter is greatly appreciated.

Many thanks,

David Edwards
-- 
View this message in context: 
http://www.nabble.com/XML-RPC-calls-no-longer-working-in-1.5%2C-possibly-due-to-server-introspection--tp18363733p18363733.html
Sent from the Zend Framework mailing list archive at Nabble.com.