Zend_XmlRpc

View: New views
3 Messages — Rating Filter:   Alert me  

Zend_XmlRpc

by Brad C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sergej,
 
I have forwarded your message on to fw-webservices@... (you can subscribe to that list here: http://tinyurl.com/y4f9lz ).  I also noticed that there were some posts in the past week about XML-RPC, so try clicking on the nabble.com link next to the signup for the fw-webservices mailing list to see if any of those address your question.
 
Anyone here that can help Sergej?  Please reply to his gmail address too, in case he's not signed up yet when you reply?
 
Thanks,
Brad


From: sergej.kurakin@... [mailto:sergej.kurakin@...] On Behalf Of Sergej Kurakin
Sent: Friday, February 29, 2008 8:44 AM
Subject: Zend_XmlRpc

Hello,
 
Today I was dealing with some XML-RPC routines, and noticed, that with ZF 1.5 RC you cant send responce with Zend_XmlRpc_Value_Base64.
 
In Zend_XmlRpc_Response on __toString called method saveXML, then saveXML calls _getXmlRpcReturn. Inside we see Zend_XmlRpc_Value::getXmlRpcValue($this->_return). O, go deeper, so we see self::_phpVarToNativeXmlRpc($value), where there is no ability to pass Base64 as responce or part of responce.
 
Is it a OK?
--
Sergej Kurakin
------------------------------------------------------
mobile.:(+370) 685 537 15;

Re: Zend_XmlRpc

by Matthew Weier O'Phinney-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-- Brad Cottel <brad@...> wrote
(on Sunday, 02 March 2008, 11:02 AM -0800):

> I have forwarded your message on to fw-webservices@... (you can
> subscribe to that list here: http://tinyurl.com/y4f9lz ).  I also noticed that
> there were some posts in the past week about XML-RPC, so try clicking on the
> nabble.com link next to the signup for the fw-webservices mailing list to see
> if any of those address your question.
>  
> Anyone here that can help Sergej?  Please reply to his gmail address too, in
> case he's not signed up yet when you reply?
>  
> Thanks,
> Brad
>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> From: sergej.kurakin@... [mailto:sergej.kurakin@...] On Behalf Of
> Sergej Kurakin
> Sent: Friday, February 29, 2008 8:44 AM
> Subject: Zend_XmlRpc
>
> Today I was dealing with some XML-RPC routines, and noticed, that with ZF 1.5
> RC you cant send responce with Zend_XmlRpc_Value_Base64.
>  
> In Zend_XmlRpc_Response on __toString called method saveXML, then saveXML calls
> _getXmlRpcReturn. Inside we see Zend_XmlRpc_Value::getXmlRpcValue($this->
> _return). O, go deeper, so we see self::_phpVarToNativeXmlRpc($value), where
> there is no ability to pass Base64 as responce or part of responce.
>  
> Is it a OK?

Can you provided some sample code you're using that displays the problem
(minimum possible code to recreate the issue)? You *should* be able to
send as Base64, and my recollection is that there was a related issue
that I fixed in the past. If you can show me some code that fails to
encode as Base64, I'll see what I can do to fix it.

--
Matthew Weier O'Phinney
PHP Developer            | matthew@...
Zend - The PHP Company   | http://www.zend.com/

Re: Zend_XmlRpc

by Sergej Kurakin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, the clocks are ticking and I think, I've solved this issue on my own.

Here is an attached ZIP with XML-RPC server and client to find and fix this issue. Moreover, there is 2 patched Zend_XmlRpc_Value files for Zend Framework 1.5 RC1 and trunk on revision 8064
zf-xmlrpc-15rc1.zip

I hope this will help and will be usefull.

Brad C wrote:
Hi Sergej,
 
I have forwarded your message on to fw-webservices@lists.zend.com <mailto:fw-webservices@lists.zend.com>  (you can subscribe to that list here: http://tinyurl.com/y4f9lz ).  I also noticed that there were some posts in the past week about XML-RPC, so try clicking on the nabble.com link next to the signup for the fw-webservices mailing list to see if any of those address your question.
 
Anyone here that can help Sergej?  Please reply to his gmail address too, in case he's not signed up yet when you reply?
 
Thanks,
Brad


________________________________

From: sergej.kurakin@gmail.com [mailto:sergej.kurakin@gmail.com] On Behalf Of Sergej Kurakin
Sent: Friday, February 29, 2008 8:44 AM
Subject: Zend_XmlRpc


Hello,
 
Today I was dealing with some XML-RPC routines, and noticed, that with ZF 1.5 RC you cant send responce with Zend_XmlRpc_Value_Base64.
 
In Zend_XmlRpc_Response on __toString called method saveXML, then saveXML calls _getXmlRpcReturn. Inside we see Zend_XmlRpc_Value::getXmlRpcValue($this->_return). O, go deeper, so we see self::_phpVarToNativeXmlRpc($value), where there is no ability to pass Base64 as responce or part of responce.
 
Is it a OK?

--
Sergej Kurakin
------------------------------------------------------
mobile.:(+370) 685 537 15;
email.:sergej@kurakin.nfo