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

learn more… | top users | synonyms

6
votes
1answer
449 views

Help me understand how to stream video

I'm an experienced PHP web developer that is looking to understand the options available for streaming video. What I have: a video processing system (this one) that can provide output to various ...
6
votes
1answer
519 views

How do web services for downloading ringtones work?

I am interested in knowing more about how ringtone download web services work. I do web programming in java, and i would like to make a web service that sends a ringtone to the user's mobile phone ...
6
votes
1answer
392 views

Are there established practices on versioning of a shared web service?

We are working on an ASP.NET-based XML Web Service that we will be using for our own purposes as well as using it as part of a product offering for our integration partners. Once it goes live we ...
6
votes
1answer
1k views

What's the best RESTful URL structure for a recursive resource?

I'm creating a RESTfull service for a tree-like resource structure and was wondering what the best URL structure would be? I have three requirements: be able to get a collection of root resources ...
6
votes
3answers
877 views

Carpool logical architecture

I'm designing a carpool system (drivers can publish their routes and passengers can subscribe to them) with WebServices(axis2) and Android clients (ksoap2). I have been having problems with the ...
6
votes
1answer
137 views

How to determine the source of a request in a distributed service system?

Map/Reduce is a great concept for sorting large quantities of data at once. What to do if you have small parts of data and you need to reduce it all the time? Simple example - choosing a service for ...
5
votes
6answers
5k views

I need a true random number generator web service [closed]

I need a way to get non-deterministic random numbers on demand for my application. However i do not wish/have the capabilities to build the hardware myself, thus I'm looking for a web service which ...
5
votes
10answers
3k views

Convincing a Client to Offer a RESTful Web Service instead of a SOAP Service?

BACKGROUND: I develop custom WordPress plugins for my clients that they then distribute via the WordPress plugin repository. I'm increasingly running into clients who want my WordPress plugins to ...
5
votes
3answers
6k views

Should I use both WCF and ASP.NET Web API

We already have a WCF API with basichttpbinding. Some of the calls have complex objects in both the response and request. We need to add RESTful abilities to the API. at first I tried adding a ...
5
votes
4answers
744 views

Starting Java Web Services and feeling lost [closed]

After building mainly Java desktop apps and some small GWT services, I'm trying to learn how to build Web Services in Java but I feel overwhelmed by the sheer amount of buzzwords, terms, ...
5
votes
3answers
1k views

SaaS / PaaS / IaaS / HaaS

I've read: IaaS, PaaS and SaaS Terms Clearly Explained and Defined and Cloud Computing – Demystifying SaaS, PaaS and IaaS And I've got 2 questions: Is Google App Engine considered PaaS or IaaS? ...
5
votes
3answers
2k views

Can a webservice that uses JSON over POST be classified as RESTful?

Recently I have started using a new(to me) paradigm for web services. I use the controller to accept JSON strings sent over POST, process it and return JSON strings. GET, PUT, DELETE and other methods ...
5
votes
3answers
343 views

How to handle business rules with a REST API?

I have a REST API to manage a booking system I'm searching how to manage this situation : A customer can book a time slot : A TimeSlot resource is created and linked to a Person resource. In order to ...
5
votes
1answer
681 views

Best practice for handling asynchronous inter communication?

Recently completed a project for handling credit card processing. One of the difficulties I faced was handling the delay / possible failure of notification messages. The most complex example was: an ...
5
votes
3answers
192 views

How can I license networked applications?

I have five applications residing on servers. Some of these applications are socket (C/C++) based, others are web based (Java, PHP). I need to give licenses to these applications on the basis of the ...
5
votes
3answers
547 views

OAuth alternative for a 2 party system

I'm writing a RESTful service (Java EE, Jersey) and a client application that communicates with it, and I wish to secure it and store any usernames & passwords dedicated in my own database. I do ...
5
votes
1answer
178 views

Multiple APIs, or one API with a “chooser” parameter?

Say you have a web service, which adds business logic on top of a data source. What each API of this service pretty much looks like is - given a set of constraints, give me the items from the data ...
5
votes
2answers
365 views

How to implement two different web services running the same business logic?

We are developing a ReSTful HTTP API with Servicestack(.NET). Some of the API clients, which have a subset of the actions, demand a service which could be easily added with all the entities, like ...
5
votes
2answers
2k views

HTTP Response Header for a unique Request ID for REST service

For our REST service I want to send back a unique request ID with every response; useful for debugging internal projects but also for offering support to any third parties who might use the service in ...
5
votes
1answer
140 views

Is there a lightweight method to describe web services, similar to robots.txt or sitemap.xml?

I'd like to provide a very lightweight method to describe my web services. No WSDL, WADL or similar complex stuff. Just a mapping from the web service's base URL to a simple description which can be ...
5
votes
3answers
5k views

Best method of communication between your app and your website? PHP, Web service, etc

I am creating an application which I would like to have communicate with my website. The app will have to get data for a particular app user from the website's database. I am unclear as to the best ...
4
votes
3answers
905 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 ...
4
votes
7answers
500 views

What's the standard practice to prevent users from having unreasonable expectations?

There's some subscription-based data processing web service - users pay via PayPal for the right to use the service. The "terms of service" document prepared by lawyers explicitly says that there're ...
4
votes
2answers
2k views

Why put a simple query into a stored procedure in a web service?

I'm working as a junior programmer, and the senior programmer above me has instructed me to follow a certain unofficial policy for constructing new queries on our web development projects. Generally, ...
4
votes
3answers
259 views

Creating a webservice API - how much “credit” should I give the client/developer

When creating a web service API, how much should I count on the developer to act by my rules? We are really aimed on creating an API so the developers shouldn't develop client side logic too much... ...
4
votes
3answers
314 views

OAuth2 vs Public API

My understanding of OAuth (2.0) is that its a software stack and protocol to allow 2+ web apps to share information about a single end user. User A is a member of Site B and Site C; Site B wants to ...
4
votes
7answers
265 views

Are mutliple database calls really significant with a network call for a web API?

At one of my employers, we worked on a REST (but it also applies to SOAP) API. The client, which is the application UI, would make calls over the web (LAN in typical production deployments) to the ...
4
votes
8answers
392 views

What is “The Cloud”? What do I say when people ask if my web service is “on the cloud”? [duplicate]

Possible Duplicate: What is “the Cloud” and how does it relate to development? First some context: I don't understand what people are asking when they ask "It it on the cloud?" ...
4
votes
6answers
852 views

Web2.0, AJAX, HTML5, Facebook, social web, OpenId, OAuth, web browsers… where is it going ? [closed]

We have seen many new things in the last five to seven years on the web: Facebook, HTML5 appeared, new browsers grew strongly, Google failed with Wave. Facebook, GTalk and Gmail are cross-platform ...
4
votes
3answers
176 views

Best way to approach a partner business to understand the need for B2B web-services

We currently work with a company that has a fairly simplistic web system for processing warranty information. The only way to get data out of it is through excel exporting. Compilation of this data ...
4
votes
4answers
376 views

eCommerce use case: removing a product

I am starting to design the database schema for the eCommerce element of a web service I am creating. The thing I'm trying to get my head around is how to deal with the use case of a seller (user of ...
4
votes
4answers
98 views

Should I write an integration test that verifies rate limits?

This test would call a web service over and over for about a minute to confirm that a particular response code is returned, notifying us of our rate limit being reached. Not only is it a very slow ...
4
votes
3answers
8k 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 ...
4
votes
4answers
5k views

Recommended solutions for integrating iOS with .NET, at the service tier

I'm developing an application, in iOS, that is required to connect to my Windows Server to poll for new data, update, etc. As a seasoned C# developer, my first instinct is to start a new project in ...
4
votes
1answer
9k 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 ...
4
votes
1answer
1k 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 ...
4
votes
4answers
4k views

Languages and frameworks to build REST services [closed]

I'm currently in the process of developing a REST service that will be consumed by an iPhone app. Basically, the service wraps existing business logic. This business logic is written in c# and I'm ...
4
votes
1answer
571 views

How do I make a cloud based web app accessible internally in the event of an internet outage?

I have a Java Web application backed by a database. Both are hosted in Amazon EC2. If the Internet is down, I need to allow internal users to be able to continue to work and somehow update the hosted ...
4
votes
2answers
366 views

Choosing right technology for messaging system

I'm working on a messaging system for two years now, the system was written by a long ago gone team and involves emails and document processing. The basic process is: Receive an email, parse it, ...
4
votes
2answers
315 views

How to enrich a simple two endpoint SOAP application to become enterprise level?

Imagine you have some exchange of data between two endpoints (webservices or let's call URL). Data can travel in any way (Xml, Json, GET, POST) it doesn't matter. I've got the source code of the ...
4
votes
1answer
2k views

How cache works in ServiceStack web services

I am new to caching and trying to understand how it works in general. Below is code snippet from ServiceStack website. public object Get(CachedCustomers request) { //Manually create the Unified ...
4
votes
2answers
698 views

Web services and business rules engines

We have a web service that takes in input different types of messages. The function of the webservice is to merely write in a database the content of the messages. There is about one table (with ...
4
votes
2answers
493 views

How REST is used outside of the web

I was recently reading the Wikipedia article for Resource-Oriented Architectures (ROA) and stumbled across an article that made the assertion that, although REST is a technology that is very-well ...
4
votes
3answers
1k views

web Service - what happens when client doesn't get the response?

We have developed a WCF service which acts as an API to our system. some of the methods expose functionality which eventually writes and updates data to DB. Lets say that the client sent one of ...
4
votes
3answers
227 views

Kerberos web authentication

I'v developed an internal singe-page web-app (unix, apache & postgresql) protected by a simple login page. Currently, the users have their own login role with a password. This is starting to get ...
4
votes
2answers
302 views

Session management in a Service Oriented Architecture

Where should you manage a users session in a SOA? Should you manage it in the Web Service or in the client and why? My application is SPA (Considering that this will be the stacked that will be used ...
4
votes
1answer
445 views

Integration tests across a 3-tier .NET solution

I have a 3-tiered .NET solution. Database (SQL SERVER 2008) Web Service (SOAP Service - *.asmx) WPF Client I am comfortably writing Unit Tests within (3) The Client. I am currently working on ...
4
votes
1answer
49 views

How to design URIs to initate batch jobs in a RESTful service

If I want to run a job at the end of the month to calculate the commission for all the sales consultants based on the current transaction data, eg commission rate for the person, sales done in the ...
4
votes
2answers
967 views

Core data syncing (deletion) using a custom REST web service

I need to sync my local core data stack against a server running a persistent data storage underneath the covers. (I've gone through other posts here and on SO on similar topics) My requirements: ...
4
votes
2answers
1k views

How to achieve a loosely coupled REST API but with a defined and well understood contract?

I am new to REST and am struggling to understand how one would properly design a REST system to both allow for loose coupling but at the same time allow a consumer of a REST API to understand the API. ...