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

learn more… | top users | synonyms

7
votes
4answers
1k views

Best practices for execution of untrusted code

I have a project where I need to allow users to run arbitrary, untrusted python code (a bit like this) against my server. I'm fairly new to python and I'd like to avoid making any mistakes that ...
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 ...
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. ...
4
votes
1answer
480 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 ...
5
votes
2answers
319 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 ...
4
votes
1answer
1k 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 ...
1
vote
2answers
205 views

Managing Alerts in Web Application Using RESTful API

I have designed a RESTful API and I am now working on creating a web application to use the service. One thing I am struggling with is how to manage alerts in the web application (similar to the ...
5
votes
7answers
481 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 ...
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 ...
1
vote
1answer
3k views

How do I create a .NET WebService for File Upload [closed]

I need to create a web service using the .NET platform for accepting file uploads. What are the options available for doing this in C#? What is the best approach to use? Can please you provide me with ...
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; } ...
0
votes
1answer
138 views

Advice on App/Service Architecture

I'm starting a project that will have a web front end for the users coupled with a database. There will then be a stand-alone service running that will, on a specified interval, poll an API and update ...
1
vote
2answers
100 views

One Service or Two Services for Parsing and Sending Emails

I have a bulk emailing service within the system which allows for a template to be used. When the mail is sent the template is parsed or run through a parser to replace tags with actual information. ...
8
votes
7answers
1k views

Will Authentication over HTTPS Slow My Application?

I am building a web application and RESTful web service. I have been reading various articles about the best way to authenticate the requests to the web service. The best option for me seems to be ...
4
votes
2answers
803 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: ...
10
votes
7answers
2k views

Is this “anti-pattern” and should I stop using it or is this clever design?

I've basically stared to do the following when creating a REST service: HTML is requested service returns the desired web page but without the requested "resource", eg. data web page contains ...
10
votes
3answers
3k views

When are RPC-ish approaches more appropriate than REST?

After watching this talk on REST, Reuse and Serendipity by Steve Vinoski, I wonder if there are business cases in greenfield projects for (XML-)RPC-ish setups, that REST could not solve in a better ...
0
votes
1answer
158 views

Rails-API gem, Is there such thing as an API only application?

I've built a few API's using the complete rails stack. In each project there have been multiple uses for rails core features. Each of the API has had management screens for monitoring usage, managing ...
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, ...
2
votes
1answer
691 views

XMPP— openfire, PHP and python web service

I am planning to integrate real time notifications into a web application that I am currently working on. I have decided to go with XMPP for this and selected openfire server which I thought to be ...
1
vote
2answers
631 views

Implement service layer in MVC

We have a defined service layer hosted in WCF. We are now building a website that will need to use the services functionality. The website is being written in ASP.NET MVC 4 and I'm trying to decide ...
2
votes
1answer
508 views

Strategy to find bottleneck in a network

Our enterprise is having some problem when the number of incoming request goes beyond a certain amount. To make things simpler, we have N websites that uses, amongst other, a local web service. This ...
1
vote
3answers
428 views

Looking to create website that can have custom GUI and database per user [closed]

I have developed an MS Access database for a company to track data in regards to production of a certain commodity. It has many many tables, forms, reports, etc. These were all done as the user ...
0
votes
1answer
788 views

SOA in .NET 4.5 with MSMQ Durability

I have been doing some investigation regarding ASP.NET Web API. I have enjoyed using the WCF REST template to create new RESTful web services, and Web API seems to be a cleaner iteration on that. ...
1
vote
2answers
284 views

Transitioning to asynchronous programming model

our team is mantaining and developing a .NET web service written in C#. We have stress tested the web service's farm and we have evidence that the actual architecture doesn't scale well, as the number ...
0
votes
3answers
2k views

How can I pull data from PeopleSoft on demand?

I work in IT at a university and I'm working with about 5 different departments to develop a new process for students to apply to a specific school within the university (not the university as a ...
1
vote
3answers
655 views

Methodology behind fetching large XML data sets in pieces

I am working on an HTTP Server in Delphi which simply sends back a custom XML dataset. I am not following any type of standard formatting, such as SOAP. I have the system working seamlessly, except ...
2
votes
2answers
343 views

If I implement a web-service, how do I respond to POST requests with JSON?

I have to make a rather complex system for my diploma work. Logically it will consist of the following components: Database Web-service Management with web interface Client iOS application that will ...
-1
votes
1answer
99 views

python server to manage wervices [closed]

i'm looking for a framework to build a webserver. This server will be used to manage webservices. huge amount of client may be able to connect to principally set data which will populate a noSQL DB. ...
0
votes
3answers
2k views

Sending files via HTTP to web service

I am bit frustrated at the lack of information about this online. Here is the issue: I am in charge of creating a iOS application which sends sound data back and forth between the server and the app. ...
2
votes
1answer
124 views

One codebase - lots of hosted services (similar to a basecamp style service) - planning structure

We have built a service (PHP Based) for a client, and are now looking to offer it to other clients as a hosted service. For this example, think of it like a hosted forum service, where a client signs ...
1
vote
2answers
1k views

Thin client Web browser?

Many times i have heard people saying that a particular hardware to be running a thin client web browser. But from the definition of "thin-client", doesnt all browser qualify as a thin-client? as all ...
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 ...
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)?
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. ...
6
votes
1answer
346 views

Free cloud web service development [closed]

I am looking for a free (as in beer) combination of services, for learning "cloud SW development" and very small scale private use (say, a private streamlined web shopping&todo list with simple ...
0
votes
2answers
579 views

MVC or Extract Service Layer

we have an application that is built with .Net MVC. We are now tasked with exposing API's to third parties. Members on our team want to just continue down our current path and just use more ...
9
votes
6answers
3k views

Execute code every hour

I need to create a web service that executes every hour. It will be used to review data in a database and add alerts to a table in the same database if certain conditions are met/not met. What we ...
1
vote
1answer
307 views

Using a random string to authenticate HMAC?

I am designing a simple webservice and want to use HMAC for authentication to the service. For the purpose of this question we have: a web service at example.com a secret key shared between a user ...
1
vote
1answer
93 views

How to wrap console utils in webserver

I have a big dataset (100Mbs/day) and a bunch of console a TCL/TK tools to view it - I want to turn it into a web app that I can build, and others can maintain. In long: my group runs simulations ...
6
votes
3answers
5k views

Why to use web services instead of direct access to a relational database for an android app?

I searched on the web how to access in an efficient manner to a central database at a remote location and I met suggestions to use web services instead direct access (i.e. JDBC etc ) to a database.I ...
1
vote
1answer
195 views

Learning Issued Token in Federated Service

I would like to learn federated WCF service. I have the following in my system. • Windows XP • Visual Studio 2010 Express • SQL Server 2008 Express Is it possible to create a federated ...
1
vote
3answers
411 views

unit/integration testing web service proxy client

I'm rewriting a PHP client/proxy library that provides an interface to a SOAP-based .Net webservice, and in the process I want to add some unit and integration tests so future modifications are less ...
2
votes
2answers
227 views

Drop in service for account management, authentication, identity?

I'm building an Android app and associated set of web services for uploading/downloading data. I need a basic (no frills) solution for account management (register, login, logout, verify ...
2
votes
4answers
571 views

AGPL License - does it apply in this scenario?

There is an AGPLv3 based software (Client) that makes web service calls (using SOAP) to another software (Server - commercial, cloud based). There is no common code or any connection whatsoever ...
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 ...
6
votes
3answers
729 views

Motivation for a service layer (instead of just copying dlls)?

I'm creating an application which has 2 different UIs so I'm making it with a service layer which I understood is appropriate for such scenario. However I found myself just creating web methods for ...
1
vote
2answers
126 views

Is there a better way to handle data abstraction in this example?

I'm building an application that retrieves Sharepoint list data via a web service SPlists.Lists. To create an instance of the web service, I have the following class: class ...
1
vote
1answer
317 views

WCF/webservice architecture question

I have a requirement to create a webservice to expose certain items from a CMS as a web service, and I need some suggestions - the structure of the items is as such: item - field 1 - field 2 - field ...
2
votes
1answer
327 views

Service Layer - how broad should it be, and should it also be used from the local application?

The background: I need to build a desktop application with some operations (CRUD and more) (=winforms), I need to make another application which will re-use some of the functions of the main ...