A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.
1
vote
1answer
53 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
103 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
53 views
WebService async WebMethod
How do I simplify this method? Is handling an exception in this method a good idea?
...
2
votes
2answers
65 views
2
votes
1answer
91 views
Web service - getting data from SQL and adding to Object
I have created a class called CommandMessages
...
6
votes
2answers
378 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 ...
1
vote
1answer
60 views
Small, embedded full-stack web server
I thought it might be interesting to post this for review. 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 ...
23
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
81 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 ...
7
votes
1answer
433 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
618 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
386 views
2
votes
2answers
3k 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
1k 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
112 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
226 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
245 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
2k 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
123 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
2answers
84 views
Way of coding in C# [closed]
Sometimes I have to write big code in a class, so what I do is something like this,
...
0
votes
1answer
384 views
Is this code thread safe?
I do a code review for ASP.NET MVC RESTful service application code. Controller looks something like
...
3
votes
3answers
176 views
1
vote
3answers
2k 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.
...
11
votes
2answers
11k 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
388 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
175 views
First Database Schema - How did I do?
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
2k 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
3k 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
281 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
411 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
290 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 ...
0
votes
1answer
337 views
What is this simple SOAP client missing? [closed]
I used Service Reference > Add > Advanced > Web Reference to add a reference and wrote this very simple SOAP client to test out the service:
...