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

learn more… | top users | synonyms

1
vote
2answers
38 views

JWT based webservice authentication

I'm currently writing a web service that will be consumed by an android app. To access user specific content, one must authenticate against the service. Since I'm not (primarily) using a ...
0
votes
0answers
25 views

How to provide customized UI for different customers of a single web application [duplicate]

At our organisation we are developing a product which happened to be a Java web application. We are using Spring+Hibernate. Client side we are using jQuery and Bootstrap. This product would be ...
2
votes
1answer
95 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
1answer
58 views

Is wrapping a message queue in a web service a bad pattern? [on hold]

We (our team) have a web app that was periodically polling a web service. The web service was querying a database (MySQL). Then, we considered using a message queue (like RabbitMQ) instead of the ...
1
vote
1answer
65 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 ...
3
votes
2answers
267 views

Web Services and code lists

Our team heavily discuss the issues how to handle code list in a web service definition. The design goal is to describe a provider API to query a system using various values. Some of them are catalogs ...
4
votes
1answer
57 views

Should a web service return an error message if it receives unknown parameters?

I have a web service which allows to retrieve users: http://example.com/users. It returns a list of users. That service accepts a number of parameters (age, gender) to select which users to retrieve. ...
0
votes
2answers
98 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
0answers
52 views

Best practice: Web service to issue sequence numbers

We have several disparate systems. These systems assign ORDER numbers. Basically, these are sequential numbers. They are NOT database ID numbers. These order numbers are like "A01457" or "Z4T456", ...
1
vote
1answer
44 views

Handling Many to Many Relationship using Restful Uri

I am having confusion while choosing a database relation and Restful URI for application I am developing. I am making a simple library application with following requirements. Book can belong to ...
0
votes
1answer
19 views

Sync client-side data after service invocation in SPAs

Here's a simple scenario: We have a list of tasks and can mark a task as completed by invoking a web service. Doing so will transition the status of the task to completed as well as initialize a ...
2
votes
4answers
2k views

iOS chat application design, sending/relaying the message over to the end user

I have a design question. Let us say you were tasked with building a chat application, specifically for iOS (iOS Chat Application). For simplicity let us say you can only chat with one person at a ...
0
votes
2answers
76 views

Using PHP without mixing presentation logic

I'm conceptually designing a website / application and trying to come up with the correct separation of concerns. The basic technologies I'm settling on are: MySQL, PHP (Laravel), HTML/JS (jQuery). ...
21
votes
4answers
4k 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+ ...
0
votes
0answers
33 views

Is using synchronization in service layer a bad idea?

I need to implement a mailbox monitor system as a web service. I have follow classes: MailboxMonitor: Contains information such as username, password, pulling interval etc. MailboxMonitorRepository: ...
0
votes
1answer
41 views

File sharing web application - folder PIN code entry best practice

I'm developing a web app for internal file sharing and one of the requirements is to have PIN code protected folders. What I came up now is a folder like structure with the following: Folder ...
3
votes
1answer
102 views

Best practice for buffering when posting to a web-service that has gone offline

If I am collecting data that needs to be posted to a web service on a regular (~5 minutes) basis, and that service has temporarily gone offline, what is the best practice to ensure we don't lose any ...
1
vote
2answers
499 views

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

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 ...
3
votes
2answers
206 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 ...
0
votes
0answers
25 views

Do I need any special approval to operate my own MLS or IDX system?

I'm currently building a enterprise MLS / IDX system and I'm just wondering if there is any type of special considerations to be taken outside of outputting the data in the forms that external web ...
0
votes
0answers
48 views

Utilizing Python Slate for pdf text extraction from PHP

I want to use Python Slate module for PDF text extraction, and I have my code up and running for this. What I would like to know here is how to link my existing PHP MVC to utilize/make a request to ...
2
votes
1answer
29 views

Containing the GPL inside an external service?

Not asking for legal advice, just educated intuition. Lets say a programmer creates a program to provide a service, for instance (hypothetically) face recognition. User logs in, uploads pictures and ...
4
votes
5answers
2k 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). ...
3
votes
0answers
83 views

Is there a language for defining restful web services? [closed]

I'm implementing a restful service automation tool for client applications. Basically, the tool takes a config file that defines restful resources, and creates some DTOs and resource classes for ...
4
votes
10answers
8k 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 ...
0
votes
1answer
26 views

Where to store (data) classes for webservices

So I'm pretty new in my current company and my current task is to create a webservice that sends some serialized java objects from service A to service B using jaxws (webservices). The senior on the ...
4
votes
1answer
101 views

Risks of AJAX calls to ASMX

Currently working on an ajax call to an ASP web service (.asmx). In a situation where I POST to the url/.asmx/WebMethod, am I exposing information of any kind? In the 'WebMethod' I am running a ...
0
votes
1answer
78 views

What is the middleware (if any) in web-service consumed by a website?

I am trying to identify the parts of an architecture. The server (Python) acts as a web-service, delivering files and data. The client (JS) requests the data which it needs by sending xmlhttprequests ...
31
votes
3answers
21k views

Should cookies be used in a RESTful API?

I'm specifically interested in how users perform authorized / authenticated operations on a web API. Are authentication cookies compatible with the REST philosophy, and why?
0
votes
0answers
25 views

WebService NameSpace doubt

I am creating a java webservice. For that I am using @WebService annotation and @WebMethod for defining endpoint and service respectively. In both place I have option to provide targetNameSpace. Can ...
0
votes
2answers
65 views

Creating a queue for web services

I have a program running that collects metadata from the internets. Every so often a summary of this data is written up (every 30 min or so) and the summary is posted to a database. The summary is ...
0
votes
1answer
146 views

How to decompose Monolithic applications into Microservices with interdependent functional modules?

I work with a large monolithic web application that has between 12-24 functional modules and these are all maintained inside a single war project structure. While the code itself is already segmented ...
0
votes
2answers
131 views

Basing all .NET applications on a central CORE library? [closed]

The company I work for was recently acquired by a much larger company. In conversation with their IT systems group there was some discussion about modifying the existing programs so that they use a ...
2
votes
0answers
69 views

Directly query database vs. Using web service

I'm a junior programmer, am working on a WPF application that will deploy to ~50 users. We basically are streamlining all of his charting/tracking of client data. Each user will probably make about ...
1
vote
2answers
196 views

A Factory could be replaced by a key on the web.config? How would be the trade-offs of each approach?

The Problem We had a Environment class which would choose whether or not to use a webservice (it was set by a web reference) for our authentication methods by reading the host environment and if it ...
0
votes
0answers
38 views

Tomcat & Apache(PHP) HTTPD - integration limitations

I started developing an application using PHP/HTML/CSS/JQuery/SQL and after a few months of development I discovered that some automation would be required. The level of automation that is required ...
1
vote
1answer
79 views

Is there something more behind MVC in web develop frameworks [closed]

I just started my career in the web development about two months ago. During the two months, I wrote one web service in php Symfony2, get involed investigation of one project written in Python Flask ...
1
vote
2answers
242 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 ...
1
vote
1answer
92 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. ...
1
vote
1answer
165 views

How to securely store user credentials from external website

I'm developing an application where I'd like to use credentials from external websites. This will be used to login with the website API and get information for the user. Example: I want to use the ...
9
votes
2answers
619 views

Does SOA service composition actually work in practice?

One of the main SOA service design principles is Service Composability principle (https://en.wikipedia.org/wiki/Service_composability_principle). The idea is that by composing new services using ...
0
votes
0answers
21 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 ...
8
votes
5answers
12k views

How can I unit test a class which requires a web service call?

I'm trying to test a class which calls some Hadoop web services. The code is pretty much of the form: method() { ...use Jersey client to create WebResource... ...make request... ...do ...
24
votes
3answers
8k 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 ...
3
votes
1answer
37 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
197 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
90 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
135 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
1answer
121 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 ...
0
votes
1answer
63 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 ...