ha lzzy | 10 May 10:57 2011
Picon

How to access c++ code in php code?

Hello everyone,

I have a c++ xmlrpc service, the code in follow file.

And I want in php code access c++ code mothed, like "MyTestMethod".

Could you give some samples?

THANKS

LZZY

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    xml-rpc-digest <at> yahoogroups.com 
(Continue reading)

gaetanogiunta2000 | 10 May 11:43 2011
Picon

Re: How to access c++ code in php code?

Do you want to set up a php xlmrpc client that sends requests to your c++ xmlrpc server, or something else?

If that is the case, you surely can find hundreds of tutorials on the web to build an xmlrpc client in php.

You even have a free online xmlrpc debugger - it's written in php, so it might qualify: http://phpxmlrpc.sourceforge.net/#debugger

--- In xml-rpc <at> yahoogroups.com, ha lzzy <lzzy.ha2011 <at> ...> wrote:
>
> Hello everyone,
> 
> I have a c++ xmlrpc service, the code in follow file.
> 
> And I want in php code access c++ code mothed, like "MyTestMethod".
> 
> 
> Could you give some samples?
> 
> THANKS
> 
> LZZY
> 
> 
> [Non-text portions of this message have been removed]
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

fxbird | 20 May 05:25 2011
Picon

How to write unit test for rpc invoking?

 In my project , I use xmlrpc to make rpc to the remote request, but I don't know how to write unit test to check if
the rpc request has been really made and run successfully. Anyone has such experience?

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    xml-rpc-digest <at> yahoogroups.com 
    xml-rpc-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    xml-rpc-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

fgmarand | 20 May 08:12 2011
Picon

Re: How to write unit test for rpc invoking?

It completely depends on what you are using to invoke XML-RPC, but you could take a look at the XML-RPC unit
tests in Drupal:

http://drupalcode.org/project/examples.git/blob/refs/heads/7.x-1.x:/xmlrpc_example/xmlrpc_example.test

--- In xml-rpc <at> yahoogroups.com, "fxbird" <fxbird <at> ...> wrote:
>
>  In my project , I use xmlrpc to make rpc to the remote request, but I don't know how to write unit test to check
if the rpc request has been really made and run successfully. Anyone has such experience?
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    xml-rpc-digest <at> yahoogroups.com 
    xml-rpc-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
(Continue reading)

fgmarand | 20 May 08:14 2011
Picon

Re: How to write unit test for rpc invoking?

Also, we have tests in Drupal core:

The test themselves:
  http://drupalcode.org/project/drupal.git/blob/refs/heads/7.x:/modules/simpletest/tests/xmlrpc.test

The supporting module:
  http://drupalcode.org/project/drupal.git/blob/refs/heads/7.x:/modules/simpletest/tests/xmlrpc_test.module

--- In xml-rpc <at> yahoogroups.com, "fxbird" <fxbird <at> ...> wrote:
>
>  In my project , I use xmlrpc to make rpc to the remote request, but I don't know how to write unit test to check
if the rpc request has been really made and run successfully. Anyone has such experience?
>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    xml-rpc-digest <at> yahoogroups.com 
(Continue reading)


Gmane