in reply to Re: A problem with RPC::Any::Server::XMLRPC::CGI
in thread A problem with RPC::Any::Server::XMLRPC::CGI

RPC client is in another language... The problem is XMLRPC::CGI returns different parameters types depending on the situation.

if "2" is passed back, some kind pf number type is returned.

if "hello" is passed back, string type is returned.

My client is not flexible to handle returned values which can change their types depending on the content.

  • Comment on Re^2: A problem with RPC::Any::Server::XMLRPC::CGI

Replies are listed 'Best First'.
Re^3: A problem with RPC::Any::Server::XMLRPC::CGI
by aftershock (Sexton) on Sep 22, 2010 at 09:54 UTC

    Ok, I found it.

    This is what have to be used.

    $RPC::XML::FORCE_STRING_ENCODING=1;