A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.

learn more… | top users | synonyms

0
votes
0answers
34 views

Any vulnerabilities in user input to Web Server running apache and PHP [closed]

There is understandably a lot of emphasis on sanitizing user input handed off to PHP on a Web Server and numerous opinions on doing it. Can U please confirm there is no security problems with the ...
4
votes
1answer
82 views

Uploading data to Google Drive

I have created a project which uploads data from my local storage to my Google Drive account using the Google Drive API. You can read about how to run it on its Github repository. The main script ...
0
votes
2answers
45 views

Command line google searching

I have a bash script that is meant to start a google search from the command line. I am also looking to implement a way of getting source code for the search page possibly through a subscript. This is ...
1
vote
0answers
78 views

Mobile app backend using Gin and Gorm ORM

I'm developing backend for my mobile app by using gin-gonic and gorm ORM (mysql). But I'm not sure api and db handle huge amount requests if clients increased. for example I'm using my db struct as ...
4
votes
1answer
84 views

Simple Python chat

I am working on a simple console chat in Python. I started from this Winforms application, removed all the forms (so that the chat could run on Windows and Linux) and did some refactoring (the "click ...
1
vote
0answers
54 views

Geocoder Webservice client

I have been writing/fixing Java code, but just getting into object design/architecture. I am writing a webservice client in Java to integrate a commercial Address Validation Geocoding Webservice into ...
5
votes
1answer
128 views

Proxy web service which handles three different input structures

I'm a newbie and I'm new to C# (thus statics and copy-paste) and I'm painfully aware that this code smells. I'm trying to implement a web service that handles a similar pass-through logic with three ...
1
vote
1answer
105 views

Web Service Handler

My webservice class: ...
3
votes
1answer
459 views

Converting code for javax.xml.soap.* to webServiceTemplate

I am able to send requests to the web service using javax.xml.soap.*. I would like to convert the code to use ...
2
votes
1answer
2k views

Data transfer objects vs Entities in JAVA REST server application

I am quite new in web application back-end development and I have an architectural question. I have defined Hibernate entities in my application and I want to send ...
3
votes
2answers
36 views

REST service to list new, continuing, and terminated subscribers during some period

I have a use case which says: Your REST service will consume a JSON object that contains a list of emails for subscribers at the start of the subscription period, and a list of subscribers at ...
3
votes
2answers
172 views

FreeDNS update script

I tried to write a script which takes a list of URLs, checks if their FreeDNS record points to the current IP, and updates the record if not. Intended use is that the script will be run periodically ...
2
votes
1answer
99 views

Web service handler class

I've implemented a class to perform a couple of tasks through a web service. I'll be really keen if you can take a look at, give me your professional opinion. ...
3
votes
1answer
4k views

Authentication system - AngularJS & Ionic Framework

I am building a small mobile app using ionic framework and angularJS. It will consume a Restful Web Service that requires authentication (User token). This means I need to keep my users token by ...
2
votes
1answer
186 views

Small web service using scotty

I'm writing a small tool that allows to manually protocol dial-in-actions. That means a user can say he dials in to a site or he dials out of a site. (What this means is not important for the sake of ...
3
votes
0answers
360 views

Web service for Android clients to store images

I wrote this code for Android server interaction. The way I built the client was an onSharePreference of strings includes photo encoded to a base64 ...
3
votes
1answer
88 views

Web Service implementation on the client

I will be creating a web service as part of a group project for university, which will be developed using Java within the Eclipse IDE. Having no prior experience using web services, I managed to ...
6
votes
1answer
5k views

Single instance of reusable HttpClient

I've got this method and I realize that an instance of HttpClass is going to be created for each call to it. While working seemingly OK, I'm considering moving it ...
4
votes
2answers
224 views

Create User profile with separate social media data

I am creating user profile logic for a blogging platform. I have the UserProfile model and then two separate models, ...
3
votes
2answers
1k views

Implementing WCF method that supports either string or object as a method parameter

I have the following contract in a WCF-based web service: public List<string> GetAllPossibleQueryEngineHostNames(Instance instance); Obviously, I can call ...
1
vote
1answer
308 views

Async function with slow web reference(web service) slowing down webpage

Is there a way to make a threading/async post with a web reference not slow down the whole website just because the web reference takes a long time to return a response? I have a send email function ...
3
votes
1answer
269 views

Model Implementation That Calls RESTful API

I am working on a ground-up rebuild for an app that has a relatively simple purpose. Users can view/favorite entities that are backed by a RESTful API. I own both the client code as well as the API. ...
1
vote
1answer
152 views

WebService async WebMethod

How do I simplify this method? Is handling an exception in this method a good idea? ...
2
votes
2answers
657 views

Async operations in WebMethod

How can I improve this code, without to return async Task? ...
2
votes
1answer
3k views

Web service - getting data from SQL and adding to Object

I have created a class called CommandMessages ...
6
votes
2answers
2k views

Web service getting value using LINQ from queue table in SQL database

As a test of my C# skills, I have been asked to create a simple web service which will take a message from a queue table in a SQL database and send it to a web application when a button is pressed on ...
3
votes
1answer
390 views

Small, embedded full-stack web server

I did this project last year, under some interesting constraints: it's a thin webserver which lives in a Raspberry Pi, which is networked to an embedded system in an industrial sign which is running a ...
31
votes
5answers
2k views

First Time HTML5/CSS Site

I am working on my first HTML5/CSS web site and, like all of my first-time projects, they end up cumbersome, crude, and hard to work with when changes need to be made later in the life cycle. I am ...
4
votes
1answer
218 views

Graceful JavaScript fallback for external web service failure

I use the src.sencha.io service to resize images on the fly according to device width, saving lots of bandwidth on mobiles etc. Sometimes the service fails randomly with a 503 error, so a fallback is ...
8
votes
1answer
2k views

Web service proxy that switches endpoint URLs in the event of a TimeoutException

I am creating a service (FaultTolerantCommunication) that wraps a call to a (web) service. Its responsibility is to switch the endpoint URL in the event of a ...
3
votes
1answer
1k views

Call to external web service

The architecture is showing a call to an external Web Service which is called by me. Then I will expose the data using WCF to be callable from another WCF client. But I really don't like how it's ...
0
votes
1answer
1k views

Upload document to mongodb

Simple post and download web app in Bottle: server.py ...
2
votes
4answers
8k views

Android AsyncTask, HTTP Request and Parsing

I am working on Android applications for last 2 years and about 80% applications I have developed involve web-services consumption followed by some sort of XML or JSON parsing. Initially, when I had ...
1
vote
1answer
4k views

Best practice to upload files on server using Rest Service

I am using building REST services for file upload on the server. Here is some code of that ...
5
votes
2answers
361 views

Optimize a synchronization with remote web service

I am writing a method to synchronize the local Core Data entities with a remote web service (in this case Parse.com). To update changed or created objects, I fetch all where the "updatedAt" date ...
0
votes
1answer
839 views

Review of my PHP Wrapper around Third Party Soap API

I have written a wrapper for Soap based 3rd party web service. https://gist.github.com/veganista/bd940750d9e240e63b89 I'm pretty happy with it so far (I think, anyway). It's only a small sub-set of ...
1
vote
1answer
551 views

Avoiding Duplicate Boilerplate Code in WCF Service

I'm responsible for maintaining a web service project in c#. I have one service class with a bunch of methods that look a lot like this: ...
1
vote
1answer
4k views

PHP “web service” and jQuery ajax

I've been writing classic ASP.NET web services for a while now, and this is my first time writing a PHP based web service. I'm rather new to PHP as well. In ASP.NET, you directly call the web method ...
3
votes
1answer
336 views

Synchronization-Thread with Server every 5 secs

I have a server-client environment, where the client connects and synchronizes data with the server every 5 second. For synchronizing I use a background thread on the client which works fine, but on ...
0
votes
1answer
1k views

Is this code thread safe? [closed]

I do a code review for ASP.NET MVC RESTful service application code. Controller looks something like ...
4
votes
3answers
384 views

Is this a good controller?

...
1
vote
3answers
6k views

Calling restful web services efficiently

I need to use this code to fetch data from web service and show them in a site properly but after I request for the webservice I am unable to load them fast. Site is loading very slow. ...
15
votes
2answers
48k views

Consuming an ASP.NET Web API call in an MVC controller

In a new project I am creating for my work, I am creating a fairly large ASP.NET web API. The API will be in a separate Visual Studio solution that also contains all of my business logic, database ...
2
votes
2answers
586 views

Database calls with Python Flask and SQLAlchemy

I am creating a Python Flask webservice and this is basically how I am doing all of my database calls if a webservice needs to interact with the database: ...
1
vote
2answers
386 views

Payment application database

I would really like some advice from any DB gurus who have a few minutes free. After doing some reading and playing with sqlfiddle over the weekend I have constructed this PostgreSQL schema and it is ...
5
votes
1answer
7k views

Web API and Stored Procedures

I am building a web service that gets data via Stored Procedures from a db and provides the result as JSON. The solution is built as a MVC 4 Web API project. I have to retrieve the data via Stored ...
3
votes
1answer
7k views

ASP.NET Web API HTTP GET with optional parameters

Writing my first ASP.NET Web API web service. Still learing the power of Linq as well. I feel like there is a more ideomatic way of doing this: ...
2
votes
1answer
729 views

Using XML from web service with switch

Very simple requirements here: connect to web service check if account number exists if it exists update it if it does not exist create the account I have accomplished this with the code below I ...
3
votes
1answer
838 views

Is this too long for a web request?

This is from a C# library I'm writing that checks for updates through a PHP script. ...
2
votes
1answer
462 views

How improve a get/set method of a webservice using EclipseLink and database entities?

I am wondering if this is a correct and a good way to write the implementation of two web service methods (get/set method). The setPerson method can be called ...