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

learn more… | top users | synonyms

1
vote
2answers
54 views

DLL or web service for common functions?

We have a variety of basic functions (date utilities, email sending, internal math calculations, etc) that are currently in an old VB.NET project. We're going to move towards C# and I'm wondering if ...
-7
votes
0answers
24 views

design of web service based on database [on hold]

my lecturer wants me to make a web service design of my final test. but i don't understand what his meaning. i know he didn't want me to show the architecture of web service, he wanted the web service ...
-4
votes
0answers
19 views

server-config.wsdd file is not generated [on hold]

I am developing simple Web Service App using Axis1.x. So when my server is started it shows in mid- Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd ...
0
votes
0answers
15 views

web app+databse+object store E2E testing

I wrote a thin layer that allows me to log every interaction between other programs and object store. It has simple logic to accept and serve only unbroken files(if checksums provided by user and ...
3
votes
1answer
54 views

Do I need a web-service for this case? Data-synchronization over multiple clients

I'm new in this area and a little bit confused about my current thoughts on a web-service implementation for my application. I want to synchronize all connected clients with the current data on a ...
-2
votes
0answers
28 views

Should scraper interface with REST service, or directly with DB?

I'm interested in creating an application with a pretty simple architecture, but I'm newly attempting to make it modular and scalable (i.e. backend components as separate projects running in their own ...
-2
votes
3answers
90 views

How did “Webservices” become such a buzz word? [closed]

For the past few weeks I have been researching a lot about webservices. The more I read about it the less it becomes "magical" to me. By magical I mean all it does is return text in xml or json ...
3
votes
1answer
33 views

Should I omit database and server communication (after initial response)?

I have a project that I'm working on where a user uploads a big file which gets parsed by the backend, and then returns the data back in a friendlier format. Now I'm wondering whether I actually need ...
1
vote
1answer
58 views

Keeping client side model and server side in sync in SPAs

Since SPAs have most of their domain logic client side, how do you keep your domain model in sync with the back end? For example, let's say I have a .NET WebAPI web service that uses the Entity ...
0
votes
0answers
41 views

Distributed computing - web services vs message queues

I Need to decide on the architecture for a distributed computing implementation. In the server, there is a database, which holds many mathematical problems, that need to be solved by crunching ...
4
votes
3answers
77 views

Web Service and Message Queue

We're looking at creating a web services/REST API layer that will be consumed by web and mobile clients. To make the solution more robust I was considering putting the commands from PUT, POST, and ...
0
votes
2answers
61 views

Web developer sending port in web service from server to client

I'm working on a project where I have two websites (client and a server). I've opened web service and I'm trying to "send" a picture from my server to the client [WebMethod] public string ...
0
votes
1answer
47 views

Calling RESTful service from browser and handling 4xx class responses

I have a resource called Logins, and I invoke a GET via AJAX from the browser. The current behavior is to return a 404 when the specific login cannot be found. I'm using this to check whether a ...
1
vote
1answer
85 views

What is a simple, correct and secure way of executing code stored in database?, that is also sandboxed

Webhooks can be a very powerful thing when you try to automate or integrate software, however, handling their deployment in a controlled environment can suck in terms of security and deployment alone. ...
2
votes
1answer
94 views

Is it bad to use POST only on an API?

I'm about to develop a new API for our website. Part of the design I've considered to use the POST and GET methods but after reading some security stuff I realise that GET is a bit less secure(i.e. ...
1
vote
5answers
103 views

How much data from a web service should I expose in a library?

I'm working on a personal project, a library that can access the weather forecasts and other weather related data from it. However, a lot of the returned data is sometimes quite redundant or simply ...
0
votes
1answer
55 views

Domain names vs URL path for web services

A team at the office is developing web micro-services intended to support sales sites and mobile apps with total combined orders count of less than 100K (not sure how much less but greater than 10K) ...
0
votes
1answer
40 views

What is the best way to expose services to mobile devices? [closed]

We are working on providing services to mobile devices(Android, iOS and Windows). These services mostly return data and nothing OS or any programming language specific. We are currently planning on ...
0
votes
1answer
42 views

Authenticating users across multiple web services

User details (name, address, etc) are stored across multiple sites that are vendor specific. For example, vendor A holds information concerning room bookings while vendor B holds information specific ...
-1
votes
2answers
68 views

Should back-end (services) and front-end be different projects? [closed]

As the title asks, is it a good idea to have separated projects (and repositories) for the back-end and the front-end of the application or website? It seems like a good idea, but then again I don't ...
1
vote
0answers
65 views

How to protect a public tracking API?

Let's say company X has websites A, B, and C. It would like to track how people are visiting them in ways that Google's Analytics and other services can't. So we company X provides a web API to track ...
4
votes
2answers
229 views

Exception versus return code in DAO pattern

After reading a lot about the abusive use of exceptions in Java and how you should let an exception bubble up through the different layers of an application, I've come to a point where I don't know ...
1
vote
1answer
72 views

RESTful basic http atuhentication credentials

I am currently working on web application which has front-end, and back-end. Back-end has RESTful architecture, or something that looks like RESTful to me (this is my first attempt to make something ...
0
votes
2answers
241 views

Web API alternatives to save a file to server's file system

We have a SQL Server 2012 Enterprise edition and an ASP.NET Web API 2.2 web service. The web API is the public interface for the database. We need to end a production order doing: Changing a value ...
-1
votes
1answer
64 views

How to handle authentication to web service from mobile?

I'm making a mobile application, and I use JSON Web Token Authentication (JWT Auth), but I have three questions about: Should I use refresh-tokens or non-expiring access tokens? In case I use ...
1
vote
2answers
173 views

RESTful Backend - How coupled should my back end and front end be?

I'm creating a web application with a front end client written in angular as well as a back end that I'm writing in Django (there are reasons I picked the frameworks but they are irrelevant to my ...
1
vote
1answer
47 views

What is really a resource?

I'm starting to study about web api's and REST and I'm having a hard time to understand what is really a resource. Basically the book I'm reading says that a resource is a conceptual mapping to one or ...
0
votes
1answer
28 views

Image uploads - preoptimize with CDN or host on same machine?

I'm working on a personal blog that will be used for reviewing various goods/services and as a dev journal. I'm writing this in Angularjs and Nodejs as a learning experience, but I plan on using it ...
4
votes
3answers
131 views

Pattern for checking online service availability

I'm not sure that this is entirely on-topic, but I'll try to make it so. I have an online service (API) and an Android application that uses it for all actions in the app. At the current moment, ...
2
votes
1answer
191 views

Design Pattern to parse array of objects

What is considered a good practice to parse an array of objects returned by an API? I am creating a RESTfull web service and a client which is meant to work with this service. One of my REST ...
0
votes
1answer
33 views

Securing service calls

I have a ServiceCallContext object that must be passed in as the first parameter of any service call. I would like to put a User object on the context object but I know I can't force the caller to ...
2
votes
1answer
82 views

SOA principles, encapsulation and autonomy

We are developing multiple web services in C# using WCF, but we´re new doing it. So, for what we have read and learnt, this is our approach: We have a class library that we called CommonLibrary ...
2
votes
1answer
60 views

Integration between services in a SOA

Assume we have a Bounded Context for Inventory (InventoryBC) and another one for Shipments (ShipmentsBC). These 2 BCs need to communicate together. They are hosted on 2 different services on different ...
0
votes
2answers
229 views

Saving to file before storing into a database in a REST service

A mobile back-end I am building should receive a larger amount of data (some sensor recordings) from an Android phone. The phone does not have much use of it so it was most efficient to store the data ...
1
vote
1answer
241 views

.NET WCF: Persistent connection or Open/Close as needed?

I have a .NET WCF web service currently running in production right now. I would say 95% of the time it works flawlessly and as intended. However; there are times when I am throwing an exception that ...
4
votes
2answers
98 views

Is it a good idea to have a database row that represents an unknown value within a system [closed]

We have two systems, System A imports a list of sports events from system B, it only wants to import the events we will be providing live data for, the filter used to hide events that we are not ...
1
vote
0answers
196 views

Separation of web server and stateless REST API

Currently, I have a single Node server that provides both (a) stateless API routes returning JSON, and (b) session-based web routes. My API routes and web routes have started sharing a lot of code, ...
-1
votes
1answer
56 views

Send Emails Via APIs or Code?

I am Using SendGrid to Send Emails to my Users. There are two ways to send emails via SendGrid. 1 - Via APIs 2 - Via Program/Code I want to know which one is More Secure and efficient way. I am ...
0
votes
2answers
805 views

Clients connect to WCF or SQL Server

I was wondering what is the prefered way of accessing data from a server in a client application. The data will be stored on the server in an SQL database and I have previously used the following 2 ...
0
votes
1answer
72 views

Database vs. server-sided scripting language [duplicate]

To keep my question short and to the point, consider this: $relation = $mysql->query("SELECT relation($loggeduser, $requesteduser) AS a")->fetch_assoc()['a']; if ($relation != BLOCKED) { ...
1
vote
0answers
54 views

Multiple API Calls on Web Server

I am trying to build a Tumblr Site that makes API calls to Social Network sites and return data and render on the Tumblr Site. And the thing is Tumblr doesn't allow PHP on their HTML Editor. So my ...
20
votes
3answers
3k views

Why is it so bad to read data from a database “owned” by a different microservice

I have recently read this excellent article on the microservice architecture: http://www.infoq.com/articles/microservices-intro It states that when you load a web page on Amazon, then 100+ ...
3
votes
2answers
575 views

How do I set up a micro-services architecture that can take advantage of a common, centralized security service?

I've obviously heard a lot about the Micro-Services Architecture and think it makes a lot of sense (especially with the success stories of Netflix). I'd like to implement a small Grails application ...
4
votes
1answer
157 views

Should I hide fields in REST resource representations based on the user's security role?

What is the best practice for exposing different fields for a resource based on user's role/ACL privileges in the system? Let's say I have an endpoint, groups/{:group_id}. My business rules state ...
3
votes
2answers
113 views

Service Oriented Architecture - Component Responsibility

Working on an ecommerce project whereby a PHP application (back-end & non-customer facing) is currently responsible for processing an order from checkout stage through to generating profit/loss ...
1
vote
0answers
49 views

single app and multiple distributed service versions

The problem that I have is with versioning of a single mobile application (created with Cordova) and the WCF web services that it consumes. Situation: The latest version of the mobile app is always ...
0
votes
1answer
121 views

How do different technologies connect to form a web stack? [closed]

I am a little confused, is it possible to implement a front end using common languages like html, css and javascript and then do server side processing using a language of your choice, say python or ...
0
votes
0answers
99 views

Creating a user-customizable web api

Technologies: Javascript for $http call, ASP.NET Web API, MSSQL for data retrieval Web API will return array of widget objects with following properties: WidgetId, WidgetAttribute1 Bool, ...
0
votes
0answers
161 views

How to micro-ify the middle tier in a Microservice Oriented Architecture?

Just read Fowler on Microservices and definitely recommend it. A big thing that is missing from this paper/approach is how to decompose the client-tier into "micro apps". By that, here's what I mean: ...
0
votes
4answers
132 views

Using email as a web service [closed]

I am looking for some arguments for or against a given solution. A public facing webserver hosts an aspx form and, based on user input, places the content of the form in XML within an email body. ...