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 943367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:25:42+00:00 2026-05-15T22:25:42+00:00

I am developing an open protocol for dynamic ridesharing services using mobile phones. It

  • 0

I am developing an open “protocol” for dynamic ridesharing services using mobile phones.
It is based on XML-RPC and uses marshalled objects as parameters (quite like Soap).

Every entity and operation will be heavily documented in the draft.
As example, look at this first skeleton of a documented Prefs object to be used in the Protocol.


Prefs object

Stores the preferences of a Trip set by the Person who creates it [..]

Attribute   Type       Requirement
age         string      MAY
nonsmoking  boolean     MAY
gender      string      MAY
drive       boolean     MAY
ride        boolean     MAY
  • Even if all attributes of Prefs objects are optional, objects of type Prefs MUST be provided when doing XML-RPC calls. In case of zero attributes provided, an empty object representend with an empty XML-RPC struct MUST be provided
  • gender MUST be any of the values {‘M’, ‘F’, ‘B’}, meaning ‘male’, ‘female’ or ‘both’

The following is a valid Prefs object used in Protocol operations:

<struct>
 <member>
  <name>nonsmoking</name>
  <value>
   <boolean>0</boolean>
  </value>
 </member>
 <member>
  <name>gender</name>
  <value>
   <string/>
  </value>
 </member>
 <member>
  <name>ride</name>
  <value>
   <boolean>0</boolean>
  </value>
 </member>
 <member>
  <name>drive</name>
  <value>
   <boolean>0</boolean>
  </value>
 </member>
 <member>
  <name>age</name>
  <value>
   <string>18-40</string>
  </value>
 </member>
</struct>

An operation using Prefs objects would have a complete description of an HTTP POST operation with all the details etc.

Would you call this one a Protocol or still an API? I.e., if we write a Protocol which is based on another Protocol (in this case XML-RPC), is the derivative work a Protocol again?

I would like to know that because I will talk about this in my bachelor thesis and I don’t want to say something very stupid 🙂

Thank you!

  • 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-15T22:25:43+00:00Added an answer on May 15, 2026 at 10:25 pm

    Strictly speaking every API is a protocol. Protocols often are based on other protocols.
    TCP is based in IP. HTTP lies on top on TCP, HTTPS is based on HTTP and so on.

    Your protocol is no networking protocol, but an application level communication protocol.

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

Sidebar

Related Questions

I am developing a mobile application that transmit date using TCP protocol ( sockets
I am working on developing a mobile application using java for messaging services(P2P) I
I'm currently developing a application where I will have multiple windows open using C#
We are developing a closed-source proprietary product that uses quite a few open source
I am developing an application in titanium using Javascript. I need an open source
Sometimes when developing using open source software, you need to read it's source code
I'm developing an open-ended strategy game. I am using the following formula to calculate
I'm developing a web application that opens a popup using windows.open(..). I need to
I am developing an open source project for rendering HTML5 using ASP.NET. Here you
I am developing a small Ruby-on-rails application. I am using 'roo' gem to open

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.