Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6172963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:29:04+00:00 2026-05-23T23:29:04+00:00

I am using xmlrpc-c library (http://xmlrpc-c.sourceforge.net) and I am writing both the server and

  • 0

I am using xmlrpc-c library (http://xmlrpc-c.sourceforge.net) and I am writing both the server and client side code. I know that xmlrpc provides lots of builtin structures like xmlrpc_c::value_struct, but the docs cannot help me figure out how to achieve my object.

In the server I am attempting to return a structure vector<map<string,string>>, and the code snippet is like:

SomeDefaultMethod::execute(string const& methodName, xmlrpc_c::paramList const& paramList, xmlrpc_c::value* const retvalP)
{
    *retvalP = structure; // suppose the variable structure is of type vector<map<string,string> >
}

In the client side I am attempting to print all the values from server, that is, print each map’s key and value of the whole vector.

string const serverUrl("http://localhost:8183/RPC2");
string const methodName("webcommands.bulkpagestatus");
xmlrpc_c::clientSimple myClient;
xmlrpc_c::value result;
myClient.call(serverUrl, methodName, &result)
// do not know how to get the values then through result in this situation.

Can anybody give me a C++ sample code or dummy code using xmlrpc-c to achieve my object? I really appreciate your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:29:05+00:00Added an answer on May 23, 2026 at 11:29 pm

    You’ll have to do marshalling on server side and un-marshalling on client side. Also known as serialize and de-serialise.

    You are asking us for a lot of code. Try googling for marshalling code samples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using xmlrpc-c library (c++ version) to write a program. I find that
I started using a 3rd party API that depends on XML-RPC.NET using CookComputing.XmlRpc; I
I am using the Zend library's XML RPC Client in a PHP application to
Using ASP.NET MVC there are situations (such as form submission) that may require a
I'm using Zend XML-RPC Client library to send XML requests to another non-PHP XML
Is there a way to view the actual underlying xml data that the cookcomputing.xmlrpc.net
I am posting to wordpress in java using xmlrpc successfully using the following code
I've got a system where some C++ code (using xmlrpc-c) talks to a Java
I'm creating an XML-RPC server in Java using the Redstone XML-RPC library . The
How using Python I can dynamically generate my call to my xmlrpc server using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.