Web services are software systems designed to support interoperable machine-to-machine interaction over a network.
1
vote
2answers
33 views
Listing search/query results from 30+ web services efficiently and orderly
We have a system that currently has approx 25 customers (will never expand from this) that each have a public facing web service which allows each other to query each others internal application ...
-1
votes
0answers
17 views
Import Web Service Tech selection - Process the MS Access, PDF or MS Word File [closed]
I have a requirement to build a new Import kind of web service which can read or process different kinds of files such as MS Access, PDF or MS word. The service will need to read the data from ...
4
votes
5answers
183 views
Proper RESTful web service response code usage
Assuming I create a RESTful web service that looks up a user in a database given the id as a parameter.
If the user does not exist, should I return a 404 response (because user not found)? Or a 200 ...
-1
votes
1answer
103 views
Would a JS framework that automatically performs ajax requests in background be useful? [closed]
For the type of applications I usually develop (AngularJS single page applications that communicate with the server side based on the REST API) there are some requests done at the start for loading ...
0
votes
1answer
184 views
How to structure Restful API client files in C# project?
I've developed a Restful API in PHP, now the API makes different resources available like: Article, User, Service, Trace etc....
I'm going to implement each resource in a portable DLL, so I can use ...
2
votes
3answers
80 views
Do application-level caches belong inside web servers?
A coworker and I have a disagreement about where the cache for a webserver should go. We currently have it implemented as a global (static) in-process cache, which I don't agree with. I think the ...
1
vote
2answers
75 views
Creating a client side database to store consumed web services?
I have been developing android application for a while now. What we currently do is we first develop our UI components in the mean time web API developers will be completing the web APIs required, so ...
2
votes
1answer
56 views
How to optimize a bloated entity that causes a huge query
I have an application that exposes a series of Web services. One of my entities has a bunch of one-to-many and many-to-many relations to other entities. My transactionality level is at DAO, and I'd ...
1
vote
0answers
21 views
Implementing real world Consumer-Driven Contracts in a single web application
I've been leaning towards the idea of Consumer-Driven Contracts in order to allow separate API consumers evolve on their own. To approach this concept initially I'm tempted to dip my toes in slightly ...
4
votes
1answer
44 views
How to structure path-colliding REST webservices with role-access
I have a bunch of REST webservices that my client uses. For instance, to create a user, I have
POST /users
and to modify it
POST /users/{id}
The problem is, some fields, as marketArea, are ...
1
vote
3answers
112 views
REST: Can I use POST request to read data?
Is it against best-practices to use a POST request to read data? Are there any exceptions to this? e.g. Authentication requests where you have to POST data to perform a read action.
I have an API ...
3
votes
2answers
166 views
Best Practice for masking Credit Card informations in Web Api 2
In an Asp.Net Web API 2 project, We're logging every http request and response with log4Net.
Some controllers have critical parameters such as "CreditCard, CVV, Month, Year" etc. This data should not ...
0
votes
0answers
43 views
Incorporating external web services in Java/Spring web app
With traditional Java/Spring web apps, I've historically used an JEE architecture where there's a domain tier and a web tier. The web tier mostly contains web controllers. The domain tier includes ...
7
votes
3answers
219 views
What should be the scope of a health check for a system which deploys a webapp?
Today I had a task to "write a health check" for a long running service that is an orchestration system to deploy a web-app.
I am trying to determine what the scope for such a health check would be, ...
0
votes
0answers
23 views
Writing test cases for another web service
I'm working in a team as a developer. We have developed a product where we generate letters by populating some XML file. This XML file ONLY contains some texts that need to show up in a pdf document. ...
4
votes
1answer
61 views
What's the purpose of having services in containers?
I've been very interested in Service Oriented Architecture, and Microservices. Many resources talk about having services in containers.
To me, one of the big benefits of seperating an application ...
0
votes
0answers
41 views
Customizing xmlAdaptor in JAXB
I have hashtable which contains columnName and column value. My hashtable contains key,value pair as like
columnName = columnValue
columnName = columnValue
columnName = columnValue
columnName = ...
1
vote
2answers
151 views
Suggestions to distributed service pattern
We expose some webservices on a server, written in C#. Now we have to distribute the services to multiple servers, so the solution is distributed. And each request is dispatched to one the servers to ...
0
votes
1answer
43 views
What is the importance of WS-Addressing in SOAP?
I'm learning Web Services Addressing and SOAP, but I can't get the importance of WS-Addressing in SOAP. This is quoted from Wikipedia "standardized way of including message routing data within SOAP ...
0
votes
2answers
156 views
Do WSDL based web services need to use SOAP?
Does a web service that is defined by a WSDL; when implemented; need to use the SOAP specification to structure the request and response messages? Can it use an alternative to SOAP? Are there any ...
2
votes
2answers
94 views
Scaling a Restful Web Service Hosted in Server
We have deployed a restful web service on a application server (Apache). The volume is getting higher and we do want to scale it. We will deploy two more Apache instances on two more machines.
How do ...
1
vote
0answers
28 views
Splitting the application into two different hosting providers
Due to cost I am currently thinking of using AWS for scalable hosting of the node.js backend of the application that would be nice to have monitoring,load balancing and all the goodies of the AWS ...
-1
votes
3answers
154 views
What is a correct way to exchange information between “frontend” and “backend”? [closed]
I am not so experienced in client-server applications and I could not find exactly answer to my question anywhere in google.
I am developing part of application on server side and my collegue who ...
5
votes
1answer
173 views
Architecture for Web application to monitor remote servers
So I'm a relatively new programmer, attempting to create a web application (ASP.net) to display the system information (E.G. Status of windows services, disk & resource usage and errors in event ...
4
votes
1answer
77 views
How can we rollback a database synchronized over multiple systems?
On a mobile device, a set of operations has been saved in the local DB with a wrong date (because the system date was set in the future). Then the device regularly doing synchronisation with a server ...
5
votes
2answers
117 views
Synchronous facade hiding asynchronous web service
I'm maintaining a system providing a typical synchronous web service REST API. It routes each request to one of several possible backend services. Now there is a new backend I want to use, but there ...
0
votes
0answers
23 views
Web Service instances on web server
I was hoping someone might be able to explain or point me to an article on how web services are handled on a web server. Specifically, when clients connect to a web service, do they all go to connect ...
-1
votes
1answer
46 views
Approach to Web Services Exposure By Version
What's a good approach to exposing web services of different versions on the same URL? I don't want to have different URLs for different versions so I can change which version consumers are using from ...
4
votes
1answer
72 views
Job Scheduling, Stored Procedures
I am working on a polyglot web app project that has functionalities that can be separated, but that rely on each other. I am unfamiliar with the following (what key words to even search for, what ...
1
vote
2answers
1k views
Webservices vs Microservices [closed]
In our org , we have soap & rest based services that have focused set of responsibilities. For instance , there is customer service for managing customer info , account service for managing ...
0
votes
2answers
113 views
Should my public webservices use HTTP or HTTPS?
The situation is a bit more complex than the title suggests (but not much).
I'm working on a REST API that will have a few open / publicly available resources and a few with authentication. (The ...
1
vote
1answer
197 views
Java code design for a Geocoder Webservice client
Please bear with me, if this type of question has been asked before. I am having a dilemma with object design and seeking experts' help here to come up with the correct/better design for a webservice ...
3
votes
2answers
219 views
Should I use my own public API for my web interface?
I am designing an API with django and its rest framework (and I am already not sure if it worth the hassle to version it or not).
I totally know the iOS and Android apps will call the API, get a ...
6
votes
3answers
396 views
Understanding the difference between Webservices and Service Layer
My understanding of a webservice and service layer is as follows -
Service Layer: An abstraction layer which exposes a set of common operations which can be used by multiple consumers. For instance , ...
0
votes
0answers
52 views
Web service security token storage
I have two operations in my JAX-WS web service: First takes username and password as parameters and generates random alphanumeric token, second takes this token and username as parameters, verifies ...
3
votes
3answers
1k views
Microservices REST or AMQP, which case
I've read many articles concerning microservices architecture and I was wondering when to use AMQP or REST.
I've read that losing couple between services is a good thing and AMQP seems to be a good ...
2
votes
0answers
28 views
Should I scale my app by cloning immutable instances of a single deployment, or update all deployed instances?
My app is running a single instance on AWS EC2 for now and I don't expect it to require scaling till next month. By then I know I'll need to scale to at least one more server if not two.
I've read ...
2
votes
1answer
118 views
Web Service or pure TCP
We are trying to establish a 6LoWPAN network.
Our Devices have only the 6LoWPAN connection so we need a bridge to connect them to CMS server. A small computer (something like BeagleBone) which runs ...
1
vote
1answer
62 views
Service Layer to Retrieve Data Specific to Views
I'm building a WPF application, using MVVM, and Prism. It's worth noting that I'm the only developer working on a large project, so resources are limited. Here's what I currently have:
Models - ...
0
votes
1answer
152 views
How to Handle Duplicate Web Requests on Server
I'm running a Twisted web server and trying to figure out a good way to handle retries from the client. In normal operation the client makes a request of the server with some JSON data and receives a ...
2
votes
0answers
479 views
Assembler vs Entity Translator and Entities vs DTO
I was hoping that someone could explain the exact difference between an Assembler and Entity Translator.
Martin Fowler describes the Assembler as a sort of Mapper(?) which converts DTOs into Domain ...
3
votes
4answers
175 views
What HTTP status using for REST search query which returns nos results
I'm wondering how to manage empty results returned by search queries in a REST web-service :
I there was a query like my_ressource_collection/{id} and the resource didn't exists i would return 404 - ...
9
votes
3answers
393 views
CRUD API: How do you specify which fields to update?
Let's say you have some kind of data structure, which is persisted in some kind of database. For simplicity, let's call this data structure Person. You are now tasked to design a CRUD API, which ...
0
votes
0answers
108 views
How does the Same Origin Policy protect users?
When I first learned about CORS and Same Origin Policy, I thought it was an honor system (enforced by browsers) to protect a website's resources from being stolen, bootstrapped, by other websites.
...
0
votes
2answers
332 views
How to structure a SaaS application?
The Problem
I need to develop a Software-as-a-Service application, that will be used from our clients. The application contains a lot of forms (Company Application) using a step-by-step forms. They ...
5
votes
3answers
260 views
What should my user object know?
I have an architecture problem/doubt and I'd like some insight on this.
Context :
We're in a mobile app that solely relies on webservice calls to be used. There can only be one user logged in at any ...
3
votes
1answer
99 views
How do I Balance Multiple Service Contracts with Duplicate Structures
My current task requires me to use a set of web service calls to a 3rd party vendor in order to retrieve and update information.
The objects used in these calls - namely the response from a get and ...
1
vote
2answers
285 views
How do I prevent people from abusing my endpoint that accepts files? [duplicate]
So I have a Django app hosted on Heroku that has an endpoint which accepts image uploads. The images are saved to my AWS bucket, which is charged to me. Right now, I am able to upload images by making ...
0
votes
1answer
108 views
ASP.NET synchronous commands handlers
A question about DDD, for validating a Proof Of Concept.
Let's say we have a webpage that triggers a Domain Event. For instance, updating the status of a client after an interaction occurred on that ...
1
vote
2answers
198 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 ...