Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.

Share tech news, updates, or what's on your mind.

Sign up to Post

I am curious about finding the cost to a big bank to process something like a bank transfer from one account to another...

I am thinking about my bank, where I have two accounts, where I may move a few hundred dollars from one account to another.

Is the cost less than a penny for such a transaction for a website or an iPhone app to make such a transfer? I assume there are overhead costs where auditors review blocks of transactions, but I am not asking about that. Just the marginal cost for a hosted and highly secure website to process a transaction.

Does anyone have an idea about this?
Automating Your MSP Business
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

I need a web service to remain secret and would use CloudFare or a similar technology to prevent DDoS attacks. Aside from DDoS, what other types of attacks are possible?

I assume my web service domain would be totally hidden, but need to be sure there is no other known threat to it.

I love the notion that my REST web service could deliver a complete UI to the client, which that the client could then display complete functionality inside a window, on their own site. What's kind of client/server relationship is this?

Is this what Code-On-Demand does?

Does it return HTML/JavaScript/CSS?

What kind of control is needed on the client to receive this? An iframe?

What kind of problems might there be with this kind of interaction?
I have supported various web services over many years but need to clearly what is meant by the term "web API."

Please give me a short description so I can judge if I have worked with this or not.

What technologies are best suited for the highest performance web services to handle the heaviest loads? Thousands (even millions) of transactions per second?

I know that Node.js can handle thousand(s) sessions on a single thread. And I do not know of any other technology which handle more than one session per thread. Am I right about that? Are there others that can do this also?

What about real-time programming as it relates to web-services. Is there such a thing?

And how about a few general words about hardware deployment? Having a central API call which distributes calls to hundreds of more specialized web servers? What about Caching for successive related calls?

And what about Machine Learning? Can algorithms be optimized by existing Machine Learning algorithms that reduce the average response times of the most heavily load web service?

I have a C# WCF Service which is hosted in IIS 8.5 and has a number of web services. One of these web services is called MobileRegistration and when called from the Client works correctly (see below)

using (var svc = new DCRulesServiceRef1.TransactionClient())
{string returnval = svc.MobileRegistration(enterpriseId, userId, deviceId, qrcode);}

Open in new window

However I also need to be able to call the webservice MobileRegistration directly via a URL without having to go through the client. The URL I created is as follows

This fails with HTTP400 Webpage cannot be found.

http://xx.xx.xx.xxx/DCRules2Alias/Service.svc  does return the TransactonService Service page successfully.  So why can it not find my service. Is the format of the URL incorrect for a WCF web service ? Below is some of the relevant code and WSDL. Appreciate if someone can point out what I am doing wrong


Operation Contract for MobileRegistration web service
[WebGet(UriTemplate = "MobileRegistration?enterpriseId={enterpriseId}&userId={userId}&deviceId={devicerId}&qrcode={qrcode")]

        string MobileRegistration(string enterpriseId, string userId, string deviceId, string qrcode);

Open in new window

Web.config file
   <!-- Required to prevent error

Open in new window

I am part of a development for a SOAP web services client on WCF/.NET. After a session of sending request, team for server side left feedback "extend someAction from schema i am mentioning below", and mentioned an URL. In this context, what does it mean to extend from schema?
I have a client who's server is being the subject of repeated intrusion attempts over the last 8 days.  All the source IP's whois back to Amazon Web Services.

Do Amazon follow these up with the user of the IP or do they pursue it in any way?  The attacks are getting more frequent.

I can't import my module Activedirectory with this command: import-module activedirectory.
I can't import remotely or on the main DC.

Error: “WARNING: Error initializing default drive: ‘Unable to find a default server with Active Directory Web Services running”

In event viewer I have only this warning:
Active Directory Web Services could not find a server certificate with the specified certificate name. A certificate is required to use SSL/TLS connections. To use SSL/TLS connections verify that a valid server authentication certificate from a trusted Certificate Authority (CA) is installed on the machine.

Certificate name: srv-dc1.contoso.com 

Open in new window

And at every restart I have this error:

ADWS Error:1202
This computer is now hosting the specified directory instance, but Active Directory Web Services could not service it. Active Directory Web Services will retry this operation periodically.

Directory instance: GC
Directory instance LDAP port: 3268
Directory instance SSL port: 3269

Open in new window

I have 3 DC (3 GC).

I tried everything... Even with "new-psdrive"... Not working. Put the service ADWS on delayed launch... Not working.

srv-dc1 = Windows server  2008 Datacenter SP2 (type GC - 2008 r2) with ADWS service.
srv-dc2 = Windows server 2008 standard  (type GC -2k8) without ADWS service.
srv-dc3 = Windows server 2008 standard  (type GC -2k8) without ADWS service.

Before last restart of dc1, everything working well. And now...
And I uninstalled every update installed after restart.
0 port are blocked with firewall.
I can telnet on 9389 on dc1.

Thanks in advance for your help.
i am new to rest api.
i want to implement REST API for my project which is developed with Spring framework.
i want to implement  REST API in best way.

Please provide sugggistions for design and development.
Put Machine Learning to Work--Protect Your Clients
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Hi Experts,

I did a Nessus scan and received a high vulnerability finding and have a few questions.

This result was from scanning our domain controller(wind 2012 R2).

First how did a certificate get generated when we do not use IIS on this DC? as i do not understand why a certificate would need to be generated on the DC or how it would be? We do not have a CA.

SSL Certificate Cannot Be Trusted


The server's X.509 certificate cannot be trusted. This situation can occur in three different ways, in which the chain of trust can be broken, as stated below :

 - First, the top of the certificate chain sent by the server might not be descended from a known public certificate authority. This can occur either when the top of the chain is an unrecognized, self-signed certificate, or when intermediate certificates are missing that would connect the top of the certificate chain to a known public certificate authority.

 - Second, the certificate chain may contain a certificate that is not valid at the time of the scan. This can occur either when the scan occurs before one of the certificate's 'notBefore' dates, or after one of the certificate's 'notAfter' dates.

 - Third, the certificate chain may contain a signature that either didn't match the certificate's information or could not be verified. Bad signatures can be fixed by getting the certificate with the bad signature to be re-signed by its issuer. Signatures that could not be verified are the…
What other programming languages for web service development?  Which is better PHP or html?
The code below is executed when a user clicks a button.
It asks the user for a username/password and tries to upload a file to a webservice.
When the username/password combination is correct, everything works fine. But when the user types an incorrect username/password combination, this functions crashes. ( which is normal, because authentication failed...) .
After such a crash, the code no longer works, even after rerunning the same procedure this time with the correct username/password combination.

The only solution I found is to restart the whole application... There has to be a better way?
Does the HTTPRIO object cache my incorrect username/password? Or .... ?

RIO := THTTPRIO.Create(nil);
RIO.HTTPWebNode.UserName :=Username;
RIO.HTTPWebNode.Password :=PassWord;
webserver := GetCRS( True, '' , RIO );

 // get file to upload and encode it in base64
 myFileToUpload := TByteDynArray( TEncoding.UTF8.GetBytes( xml.XML.Text ) );

// create upload file request object
myUploadFileRequest := UploadFileRequest.Create;
myUploadFileRequest.UploadFile := PayLoadType( myFileToUpload );

// upload file to server
 myUploadFileResponse := webserver.uploadFile_A2A( myUploadFileRequest ); --> Crash

Open in new window

Hi all,

We use our internal CA using a SHA1 to create certificates for internal web services. We are now tasked with upgrading this to SHA2. My colleague has suggested we renew all SHA1 certificates so that nothing is set to expire within the next 12 months. We will then look to upgrade the rootCA but im concerned that once we do that all the web certificates will need to be upgraded?

Can someone clarify what happens when the ROOTCA is upgraded to SHA2?

It will be difficult to know whether all web services are SHA2 compatible, is there a way to create a separate SHA2 ROOT CA?
I have a SOAP web service on another server and it returns XML as response when called from SOAP UI software.
I need to develop a web console application.
How can I input the XML directly into codes ?  

Please send me a sample code or tutorial.
I have a WP site and am considering hosting a video there. What is required for this to happen? If I use Amazon Web Services to host my site, might many views of the video cost me a fortune?
what is exchange web services integration in exchange 2013, how it works does it a have to do anything with autodiscover?
Hi all,

I'm look for the best  image resizing web service that can handle  the most various image type (Jpeg,bmp ..) and image header.
What is the most effective technology/plateforom  (JAVA,C#,PHP,Python,Ruby etc ...) to use to do this ?
Any  feedback  are welcomed

Thanks for your return

This is the direction we are heading; good ole' AWS. Thinking ahead; (kind of hard to ask with providing you more) do you guys who have done this have a road map or sample config that would show how to setup a Site to Site VPN to Amazon Web Services?

Thanks ahead of time Experts!!!
Cyber Threats to Small Businesses (Part 2)
Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Hi Experts,

We are setting up a new automatic deployment environment.
After the process runs and everything gets deployed, we need to check
the health status of a list of windows and web services whose names we will have in some table or XML file.
For ex. there are 50 windows services say service1 to service50 in the xml for windows services.
We need to find the status of all those...and also names of those which are there in xml but did not get installed or deployed by automation process.(delta of services present in xml and not under services.msc).
Similary we need to test all web services listed in xml.
Please help with suggestions and sample code or articles.

I am a C# MVC .NET developer but have not yet heard much about what MicroSevices are.

Please enlighten me.

I verified the hosted version of the RestClient is running from the browser...

But I get the error:

The remote server returned an error: (400) Bad Request.

An exception of type 'System.Net.WebException' occurred in System.dll but was not handled in user code.


Hi EE,

I have designed simple web application which use the concept of cascading combobox.

First of all I created web service .asmx file and included in my project (Visual Studio 2015 - VB.NET/MYSQL).

Sample program attached with this...

I have also added web reference to my project and configured web.config file.

At the time of running the application, while I click on the dropdown it displays [Method Error 500] instead of data.
Please help...
Your help will greatly appreciated.
D Patel
I've been asked to push some data to an external web service using Access 2010. After researching this all day, it looks like many suggestions point to using Visual Studio to create a dll that utilizes VS's ability to auto generate the web services protocol code, reference then dll in Access and then call it from my Access 2010 VBA code. The web service code works great when bundled as a standalone exe. However, when I compile it into a dll, reference it within Access and then call it from by Access VBA code, I get the following error:

"Could not find the default endpoint element that references contract 'ServiceReference1.NameOfMyDllClass' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."

After a little more digging, it appears that creating a dll does not include the app.config file that contains this configuration information so I'm guessing my DLL can't find the configuration information it needs to initiate the web service transfer. Most recommendations seem to suggest adding the info in the app.config file to the host's app.config but off course Access does not have anything like that.

With so many recommendations to use dlls that wrap the web services when using Access, it sounds like a great way to go but I must be doing something wrong. Any help to get me pointed in …
I need help in setting up a proper multipart/related HTTP request in VBA. If you can PLEASE show me samples in VBA of one.  A picture (Or Code) is worth a thousand words.

Here is my code for sending XML over HTTP currently:

Option Compare Database
Option Explicit

Public Function EbaySenderXmlAddFixedPriceItems()
Dim reader As New MSXML2.XMLHTTP40
    Dim doc As New MSXML2.DOMDocument 'If you want to load the XML Document instead of creating it.
    Dim TokenValue As String
    Dim APICALL As String
    'API Call Name!
      APICALL = "uploadFile" 'Place the API Call Name here within the parenthesis.
    'Place Token Value Here Below!
    TokenValue = "TOKEN GOES HERE Like ujhuhuaeuyaeyayuo8i"
    doc.Load "C:\Users\Station\Documents\Access XML Save Files\uploadFile.xml" 'Document Location of the XML File With Items Being Added
    'Set The Headers Up!

Open in new window


Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.