Skip to main content

Questions tagged [web-services]

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

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
7k 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 ...
user2308097's user avatar
3 votes
0 answers
705 views

Design a Windows Service with self-hosted ASP.NET Core Web Services and UPD port listeners

I'm designing a software platform in automation that is responsible of many different tasks like: Core functions Driver interface for machines UDP listener for machine messages from PLC UDP listener ...
Cheshire Cat's user avatar
3 votes
0 answers
495 views

Self hosting map vector tiles for web application

I'm building a web application, which involves (currently) a REST backend and a frontend SPA. The backend is hosting massive geo-enabled data, and the frontend is displaying it on a mapbox map. I'm ...
Cyril CHAPON's user avatar
3 votes
0 answers
2k 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, ...
Lorenz Forvang's user avatar
3 votes
0 answers
312 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 ...
Richard's user avatar
  • 131
3 votes
0 answers
103 views

How do I authenticate users from facebook/twitter?

I need to build a site for a mobile app that allows users to sign in with facebook/twitter or sign up as a new user (traditional username/password). No matter which method the user chooses, they ...
resting's user avatar
  • 319
2 votes
0 answers
331 views

Send push notifications from ActiveMQ

I am trying to figure out how to send push notifications back to the client in the following ActiveMQ scenario: I have a spring boot web application #1 deployed on tomcat on RHEL server. From the ...
Tan's user avatar
  • 151
2 votes
0 answers
635 views

Connect a web-app to to the back-end message queue

We are currently looking into dividing our back-end in multiple services using a message queue (RabbitMQ). Having a message queue suddenly gives us the possibility to update the web-app freely, but do ...
r_j's user avatar
  • 129
2 votes
0 answers
31 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 ...
BadgerBadgerBadgerBadger's user avatar
1 vote
0 answers
71 views

Handling 3rd party OAuth2 tokens

After some extensive research I still don't know how to properly implement the following case. I think this question answers something similar, but I'm not 100% sure (Should client have access to 3rd ...
johannesp's user avatar
  • 111
1 vote
0 answers
63 views

Are REST Resources and GraphQL Object Types conceptually equal?

I'm in the process of outlining the intended business logic of a web service. At this point, I'm not too concerned with implementation details. On the contrary, I'm looking for ways to abstract them ...
Willem-Aart's user avatar
1 vote
0 answers
136 views

Developing mobile device management system

I am trying to create a device management system for over-the-air updates. The system basically has 3 parts: Mobile client devices running android located at different places REST Backend written in ...
Archit Sinha's user avatar
1 vote
0 answers
78 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 ...
jpierson's user avatar
  • 301
1 vote
0 answers
40 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 ...
arisalexis's user avatar
1 vote
0 answers
716 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 ...
SleepNot's user avatar
  • 121
1 vote
0 answers
288 views

Web Services and Computer Services to access low level system functions

So I think I'm in the right place to ask this question. Its fairly conceptual. I love web development, I work in ASP.NET MVC 3/4/5 C# and have created industry standard applications such as CRM's and ...
Callum Linington's user avatar
0 votes
0 answers
29 views

Webapp/Webserver architecture patterns for shared components

Motivation: I am building a webserver that is essentially a dashboard app. Users make requests and get analytics data and visualizations back. Multiple users can be in the same "workspace," ...
StarFox's user avatar
  • 101
0 votes
0 answers
502 views

Dealing with third party api rate limit when using multiple services

I have 1 api key that has a rate limit 1000req/1min. I would like to somehow use 50% of that limit in service 1 and 50% of that limit in service 2. Let's say they're just 2 separate processes using ...
Konrad's user avatar
  • 1,559
0 votes
0 answers
51 views

Patterns for handling a Multi Responsibility Response string

We have an off shore group that is responsible for a SOAP service. The service has a method that returns a key as a string, when everything goes correctly. When it doesn't the key is an error string. ...
AthomSfere's user avatar
0 votes
0 answers
41 views

How to store message content in a webservice

I am building a service responsible for sending email/sms communications. The service receives a request that contains information necessary to build an email/sms template and the recipient ...
Daniel Benzie's user avatar
0 votes
0 answers
71 views

Zipping and downloading multiple files

We're currently designing an web application that will basically expose "messages" to end users, each message consisting of a subject and body, but more important 1 to many files we call "attachments"....
Laurent S.'s user avatar
0 votes
0 answers
146 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. ...
J.Todd's user avatar
  • 3,823
0 votes
0 answers
915 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", etc....
Van's user avatar
  • 101
0 votes
0 answers
102 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: ...
Sher10ck's user avatar
  • 231
0 votes
0 answers
530 views

When to use a message queue as a web service database?

Does it make sense to implement a message queue system such as RabbitMQ or Kafka for the purpose of storing data in a queue? For example, this could be done in order to handle things such as ...
jcoc611's user avatar
  • 101
0 votes
0 answers
428 views

Reliable way to generate a token in a SOAP webservice

Legacy SOAP service here at work use a token authentication. The flow is: As first step I call the startSession method passing username (say myUser) and password (say myPWD) as parameter. At this ...
BAD_SEED's user avatar
  • 267
0 votes
1 answer
268 views

How should a JEE application store credentials for logging in to an external system?

I am in a situation where I have a Web Application (WAR) that is accessing a REST service provided by another application. The REST service uses Basic HTTP Authentication. So that means the ...
FGreg's user avatar
  • 105
-1 votes
1 answer
359 views

What is the optimal pattern to ensure a priority API gets cycles over its related (non-priority) API?

I have two synchronous web APIs that perform the same work but one needs to be prioritized over the other (the former is called from a client, whereas the latter is a caching optimization for before a ...
Craig's user avatar
  • 473
-1 votes
1 answer
685 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 refresh-...
Victor Castillo Torres's user avatar
-2 votes
1 answer
125 views

WebService testing using SOAPUI

I am currently working as functional tester. I have been assigned to do web services testing for a project. The test strategy is something like this: our company is switching vendors who provide a ...
user246266's user avatar
-2 votes
1 answer
3k views

Connecting a native iOS app to backend and database

I have a good amount of experience working with objective-C and making iOS apps that work locally and with BaaS providers (Parse.com). However, I'd like to take my mobile development to the next level ...
user2992793's user avatar