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

  • SEARCH
  • Home
  • 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 7796245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:18:52+00:00 2026-06-01T23:18:52+00:00

I plan on consuming the REST services provided by ServiceStack outside of .NET. I

  • 0

I plan on consuming the REST services provided by ServiceStack outside of .NET. I plan to writing clients for java and obj-c. This should be easy since it is a REST service, however in the documentation it seems to suggest otherwise:

But ServiceStack includes two clients which are optimized for ServiceStack in aspects like exception handling etc.

How would I go about implementing a ServiceStack client with Android? Just follow normal REST consumption procedures? Should I worry about any exception handling issues?

Also, would authentication be an issue (I’ll be using BasicAuthentication)?

  • 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-06-01T23:18:54+00:00Added an answer on June 1, 2026 at 11:18 pm

    ServiceStack web services provide pure HTTP/REST APIs which are essentially just serialized POCO DTOs over the wire. You control the entire HTTP output as ServiceStack doesn’t add any additional cruft around your serialized payloads.

    Expects Pure Serialized DTOs

    The opinionated nature comes from the ServiceClients assuming that the services are just returning pure serialized DTOs (i.e. without additional cruft) which it simply deserializes as-is into the specified response type. The ServiceClients are unique in that they give you a strong-typed end-to-end API without any code-gen since you’re able to re-use the POCO DTOs you defined your web services with.

    Fallback to pre-defined routes

    The APIs that don’t speicfy a relativeOrAbsoluteUri in the API like the Send<TResponse>(dto) will by default use the pre-defined routes automatically provided by ServiceStack allowing you to call web services without needing to specify any Custom routes for them. You can of-course opt to use your custom routes instead by sticking to the IRestClient and IRestClientAsync APIs which allow you to specify the url to use.

    Automatic Error Handling

    The C# ServiceStack ServiceClients are optimized in that by convention ServiceStack web services will serialize structured error responses in a ResponseStatus property on your Response DTO (only if it has one). All the service clients do is just de-serialize the error response into a typed C# WebServiceException which gives your C# clients strong-typed access to structured errors as explained in detail in the Validation wikipage.

    Basically the ResponseStatus property is just a convention (not some anti-REST magic) and you still control what HttpStatus Code and Description gets returned. It’s simply another pure DTO property that all REST clients have equal access to – here’s a simple JavaScript ss-validation.js routine that extracts the responseStatus metadata and injects the errors onto a Twitter Bootstrap HTML Form.

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

Sidebar

Related Questions

I plan on writing a Java 3D game that will work both on PC
I plan to start developing with WCF this weekend. Before i get too far
I plan on using multiple popups on my website. Every popup will be rendered
I plan to host a site in a shared hosting environment, where multiple developers
I plan to create an interactive golf score card for my website (XHTML). (Btw.
I plan to store quite a few pieces of data about my users in
we plan to use TIBCO EMS queues and TIBCO BW listeners on those queues
I plan on building a simple, yet high usage webapp and need to settle
I plan to delete an entire table with over 930,000 rows of data. Which
I plan to write a Desktop Client for Windows and Mac. It will be

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.