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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:06:25+00:00 2026-05-12T16:06:25+00:00

So I am working on a webservice to access our weather forecast data (10000

  • 0

So I am working on a webservice to access our weather forecast data (10000 locations, 40 parameters each, hourly values for the next 14 days = about 130 million values).

So I read all about RESTful services and its ideology.

So I understand that an URL is adressing a ressource.

But what is a ressource in my case?

The common use case is that you want to get the data for a couple of parameters over a timespan at one or more location. So clearly giving every value its own URL is not pratical and would result in hundreds of requests. I have the feeling that my specific problem doesn’t excactly fit into the RESTful pattern.

Update: To clarify: There are two usage patterns of the service. 1. Raw data; rows and rows of data for several locations and parameters.

  1. Interpreted data; the raw data calculated into symbols (Suns & clouds, for example) and other parameters.

There is not one ‘forecast’. Different clients have different needs for data.

The reason I think this doesn’t fit into the REST-pattern is, that while I can actually have a ‘forecast’ ressource, I still have to submit a lot of request parameters. So a simple GET-request on a ressource doesn’t work, I end up POSTing data all over the place.

  • 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-12T16:06:25+00:00Added an answer on May 12, 2026 at 4:06 pm

    So I am working on a webservice to access our weather forecast data (10000 locations, 40 parameters each, hourly values for the next 14 days = about 130 million values). … But what is a ressource in my case?

    That depends on the details of your problem domain. Simply having a large amount of data is not a good reason to avoid REST. There are smart ways and dumb ways to model and expose that data.

    As you rightly see, your main goal at this point should be to understand what exactly a resource is. Knowing only enough about weather forecasting to follow the Weather Channel, I won’t be much help here. It’s for domain experts like yourself to make that call.

    If you were to explain in a little more detail the major domain concepts you’re working with, it might make it a little easier to give specific advice.

    For example, one resource might be Forecast. When weatherpeople talk about Forecasts, what words keep coming up? When you think about breaking a forecast down into smaller elements, what words do you use to describe the pieces?

    Do this process recursively, and you’ll probably be able to make a list of important terms. Don’t forget that these terms can describe things or actions. Think about what these terms really mean, what data you can use to model them, how they can be aggregated.

    At this point you’ll have the makings of something you can start building a RESTful system around – but not before.

    Don’t forget that a RESTful system is not a data dump wrapped in HTTP – it’s a hypertext-driven system.

    Also don’t forget that media types are the point of contact between your server and its clients. A media type is only limited by your imagination and can model datasets of any size if you’re clever about it. It can contain XML, JSON, YAML, binary elements such as a Bloom Filter, or whatever works for the problem.

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

Sidebar

Related Questions

As we are working locally so our service link is: http://localhost:8012/webservice.asmx When we deploy
I'm working on a project where I'm trying to send request to our webservice
I am working on a webservice where we use LINQ-to-SQL for our database abstraction.
I'm working on a Web Service project to provide data to a partner. Our
I was today trying to figure out on working with WebService and found many
Working with C# and Team Foundation Server I am working on a webservice that
I am currently working with a webservice to pull a report about users in
I'm working on a simple webservice in django. This is my first web app
I'm working on an App that runs a webservice hosted an Android device. I'm
I am working with the iPhone SDK and I have to process a webservice

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.