Web services are software systems designed to support interoperable machine-to-machine interaction over a network.

learn more… | top users | synonyms

3
votes
1answer
331 views

API Design Question

I am currently designing a API and have come to a slight design issue and was hoping for a few other opinions. My url structure for accessing basic data from the API is: ...
3
votes
1answer
382 views

What is one correct architecture when using a DB with multiple clients?

We have a legacy system with data stored in a SQL database. Several clients connects to this database using a web service. The web service expose a lot of "commands" to query the database and to "do" ...
3
votes
3answers
629 views

Reuse Business Logic between Web and API

We have a website and two mobile apps that connect through an API. All the platforms do the exactly same things. Right now the structure is the following: Website. It manages models, controllers, ...
3
votes
1answer
1k views

What is the difference between SOAP and Web Services?

Keep getting confused about these two. Anyone care to explain the difference(s)?
3
votes
2answers
915 views

If ASP.NET MVC 4 supports RPC style communication what does that mean for WCF?

From http://www.microsoft.com/download/en/details.aspx?id=28942 ASP.NET MVC 4 also includes ASP.NET Web API, a framework for building and consuming HTTP services that can reach a broad range of ...
3
votes
3answers
210 views

Is allowing voting without sign-in always a bad idea?

I have a mobile app from which I'd like to allow voting on Things. I don't want to force all the users to have to sign up using email/Facebook/etc. just so that I can properly limit voting. Is it ...
3
votes
2answers
674 views

Guidance for Web XML Api's

I have to create an API for our application that is accessible over HTTP. I envision the API's responses to be simple XML documents. It won't be a REST API (not in the strict sense of REST). I am ...
3
votes
3answers
559 views

How to implement Cache in web apps?

This is really two questions. Im doing a project for the university for storing baseball players statitics, but from baseball data I have to calculate the score by year for the player who is beign ...
3
votes
3answers
424 views

infrastructure software/technologies for developing web service

[Edit: Thanks S.Lott for the hints] I'm developing a web service from scratch. The service could have potential of 10,000 requests a day. Actually, to be honest, requirements aren't that clear at this ...
3
votes
2answers
828 views

Need to make a stock inventory application

I need to make an application for my dad to keep track of stock trading inventory. He trades shares for himself and for his clients and would like to keep the records, things like buy/sell price of ...
3
votes
1answer
1k views

Should web service response use a base class or generic class?

In my RESTful WCF web service I have something like the following response object. public class WebResponse<T> { public bool Success { get; set; } public T Data { get; set; } ...
3
votes
1answer
403 views

How to sell my work?

I'm a freelancer, a company I'm working with (which has a government as customer) asked me to write an app (web-based and/or system) to allow them archiving documents, and making them downloadable by ...
3
votes
1answer
310 views

Designing models for a generic service layer

We are building a web interface to a tiered membership system, which will interface with a third-party CRM web service for the creation and management of accounts. The web service, unfortunately, is ...
3
votes
2answers
249 views

Getting and maintaining data from a large number of sources on the web

For the sake of an exercice I want to aggregate price listings with prices coming from a series of web sites in a structured form (XML, JSON...). If I have control on both sides how can I go about ...
3
votes
2answers
91 views

Service Design approach - one generic operation, and its implications

The hot topic in our organization is Service Design Approach. First Approach - The team wants to design services which essentially have one operation, can take any XML and return response XML ...
3
votes
1answer
132 views

Some hint to program a webservice “by subscription”

I have some web sites programmed, I know to do it with python and PHP basically. Normally they are simple web sites, but now I want to provide REST web services but only for allowed users (allowed by ...
3
votes
5answers
253 views

Best way to test a reimplemented web service

In my team, we are about to start the reimplement of a service. One of the important steps to do to accomplish this is how do we ensure that we are doing it in the right way and we are not ...
3
votes
2answers
1k views

N-Tiered Web App Using JQuery/ASP.NET Web Services

For fairly small, non-complex web applications, we have utilized jQuery to make asynchronous calls to an ASP.NET web service for interaction with our Sqlite data store. This has proven to be a pretty ...
3
votes
1answer
746 views

synchronization web service methodologies or papers

I am building a web service (PHP+JSON) to sync with my iphone app. The main goals are: Backup Provide a web view for printing / sorting, manipulating. allow a group sync up and down. I am aware of ...
3
votes
2answers
651 views

web services, J2EE, spring, DB integration project ideas- maybe data mining related?

I am a graduate CS student (Data mining and machine learning) and have a good exposure to core JAVA (>3 years). I have read up a bunch of stuff on Design patterns J2EE Web services( soap and rest) ...
3
votes
1answer
379 views

Geocoding for an application unable to show maps?

We have a situation where our users need to geocode a location (programmatically turn a description into latitude/longitude coordinates) from within an application unable to show a graphic image. ...
2
votes
8answers
5k views

Is executing SQL through a WebService a really bad idea?

Typically when creating a simple tool or something that has to use a database, I go through the fairly long process of first creating a webservice that connects to a database then creating methods on ...
2
votes
3answers
694 views

When do I need web services?

Are there any general guidelines to understand when I should consider using (as a eat-your-own-dogfood) and providing web services, and when I shouldn't worry about them? Or, any reading materials you ...
2
votes
5answers
425 views

Is SOA suitable for developers or only for business/IT management people?

Let's suppose you're the lead of a team of developers that needs to build a big information system such as an ERP or Human Resources software, or whatever system that is composed by multiple business ...
2
votes
4answers
166 views

Is there are problem holding large numbers of open socket connections for lengthy periods of time?

The application we have in mind is a relay server. The aim is to accept large numbers of incoming socket connections (at least thousands) that will stay open for lengthy periods (hours or maybe days). ...
2
votes
1answer
312 views

Should we create classes just to group properties

I am designing a bit of software that will integrate with our enterprise system using web services. We are dealing with work orders that are needed to maintain equipment. We have a bit of a ...
2
votes
4answers
172 views

Is it typical for a provider of a web services to also provide client libraries?

My company is building a corporate Java web-app and we are leaning towards using GWT-RPC as the client-server protocol for performance reasons. However, in the future, we will need to provide an API ...
2
votes
2answers
583 views

Sending username and password in every request from iPhone app

I'm writing a mobile app & web service combo that requires user to login. The web service will be using SSL, so are there any reasons against sending the user name and password in every web ...
2
votes
3answers
656 views

Suggestions for connecting .NET WPF GUI with Java SE Server

BACKGROUND We are building a Java (SE) trading application which will be monitoring market data and sending trade messages based on the market data, and also on user defined configuration parameters. ...
2
votes
2answers
244 views

DDD - Domain Object calling a web service

Is it ok to call a webservice from a Domain object?. As I write the question I am thinking that you should never do that, as it is poor design, but the situation is the following: I have a domain ...
2
votes
1answer
1k views

web server response code 500

I realize that this may spur a religious discussion, but I discussed this with friends and get great, but conflicting answers and the actual documentation is of little help. What does the 500 series ...
2
votes
3answers
6k views

Connecting mobile apps to a web service; What is it called and where do I start?

I have some basic knowledge of iOS development and I want to now start connecting my apps to databases hosted on the internet, so that users will have access to remote / public data that pertains to ...
2
votes
1answer
3k views

Session in RESTful web services, how it works?

In a web services, how does the server know which request belongs to which session? I know that for a web application, the web server inspects the cookie (or the sessonId query parameter in case ...
2
votes
3answers
101 views

Specifying the format in which I want to get a response through POST

It's a good practice to let a client specify the format in Web REST API: GET /api/items/123.csv However, not only GET can return some answer, but POST also can do Status: 201 Created { mgs: ...
2
votes
2answers
226 views

What is the origin of the phrase “SaaS”?

Recently I heard someone say they built a "SaaS" application. At first I thought "this guy knows something new", and I figured SaaS was some hyped enterprise framework or design pattern, but after ...
2
votes
3answers
381 views

Security for data produced by ASP.NET web serivce

I'm developing an ASP.NET 2.0 web service that serves XML data from a database. Almost all data traffic is one-way, from server to client, and there is no user-specific data. All clients will ...
2
votes
1answer
120 views

Highly available web service design?

I was wondering if any design gurus out there could help me understand how large web companies design their services to be highly available. The scenario I'm thinking of is: Client A connects to ...
2
votes
1answer
243 views

Role based access to resources for a RESTful service

I'm still wrapping my head around REST, but I wonder if someone can help with any suggestions or approaches to role based access control for a RESTful service, particularly from the point of view of ...
2
votes
2answers
118 views

What endpoints should I provide, if any, to permit connectivity testing for my web services?

What endpoints should I provide, if any, to permit connectivity / availability testing for my web services / Web API? TL;DR I am developing both the server and client in an enterprise environment. ...
2
votes
2answers
345 views

Dealing with large amounts of web service requests and storing that data

I have a desktop application that sends a POST request to my website every 5 minutes. This post request can contain a variable amount of data about the PC sending the request, but typically it ...
2
votes
2answers
175 views

Server requests optimisation - size vs frequency

my map-like app loads data from google map API but it also loads some extra data - in the form of XML - from my server. When the app loads it really needs only small amount of data to cover the ...
2
votes
1answer
144 views

REST Relationships Besides Parent/Child

This would seem to be a pretty basic question, but I can't seem to find appropraite guidelines for it. What is the "restful" way of POSTing a relationship between two entities that are not necessarily ...
2
votes
1answer
85 views

Should I provide client libraries in some select languages along with the APIs themselves?

Say I have created a web service based on RESTful APIs. Does it make sense to also provide users with a client library for the API in some select languages which are likely to be the most used ones? ...
2
votes
2answers
287 views

How can we avoid having to build yet another CRM system from scratch

We are building an accounting web application. In our database, we store basic data about our customers, like phone number, their login informations, because these things are tied into our web ...
2
votes
3answers
395 views

How to optimize calls to multiple APIs at once and return as one set?

I have a web app that searches across 2 APIs right now. I have my own Restful web service that I call, and it does all the work on the backend to asynchronously call the 2 APIs and concatenate them ...
2
votes
2answers
117 views

Is Web application a Web service?

According to W3C: Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format ...
2
votes
2answers
329 views

Services or Shared Libraries?

I work in an environment where we have several different web applications, where each of them have different features but still need to do similar things: authentication, read from common data ...
2
votes
1answer
276 views

Question about API and Web application code sharing

This is a design question. I have a multi part application with several user types. There is a user client for the patient that interacts with a web service. There is an API evolving behind the web ...
2
votes
1answer
52 views

Webservice Design: benefits of piping use-cases to URL rather than using search param's, or vice versa?

I've gotta build a webservice for employee information, and I'm trying to plan it out. To clarify, we already have a REST-ish service for People and a separate REST-ish service for Companies. This ...
2
votes
2answers
145 views

Best approach for propagating errors in service access layer of a multiplatform mobile app

We've started working on a mobile app using Xamarin. There's a core library that is to be shared among Android and iOS apps. In the core library there will be several functions for communicating with ...