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

Are there any user's out there familiar with CT FreitRater v 3.0 and interacting with the web service via JSON?
The IT Degree for Career Advancement
The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

Hi All,

I created a proxy class from a  wsdl DealSplits.asmx  .  I  am getting  below error when I invoke any method.   The endpoint is https.

Error Message
There was no endpoint listening at https://****/DealSplits.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The InnerException is  The remote server returned an error: (403) Forbidden.

 Looks like security tag error in the binding. I tried to change security Mode="None" and it did not work.

        <binding name="ImportDealsplitsSoap" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          maxBufferPoolSize="5120000" maxBufferSize="5120000" maxReceivedMessageSize="5120000">
          <security mode="Tranport">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
          <dataContractSerializer maxItemsInObjectGraph="5124000"/>
          <serviceMetadata httpGetEnabled="True" httpsGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="True"/>
 <endpoint address="https://**/DealSplits.asmx"

Open in new window

The scenario is that I have a PHP function which makes call through third party library to a third party url and it is noticed that it gets timeout due to heavy traffic.

I have put a Circuit is open check condition in my try block and in catch block I have added code to raise exception in circuit breaker library i.e. whenever I get Connection timeouts Exception from third party library I raise a PHP exception in circuit breaker command by passing a boolean flag.

The issue I am getting is that short circuits happens at requests early than the threshold.

With below configurations only for this command

'circuitBreaker' => array(
   'errorThresholdPercentage' => 50,
   'requestVolumeThreshold' => 10,
   'sleepWindowInMilliseconds' => 10000,
   'rollingStatisticalWindowInMilliseconds' => 20000,
I am using Spring Boot and want to create a client that uses SOAP1.1 as the SOAP VERSION.

I am not sure how to check my current SOAP version and how to switch it to SOAP1.1 for the client.

Does anyone have idea as I cannot find this online anywhere.........
Using InfoPath 2013 with SharePoint Office 360, I want to create an item in a SharePoint list just ahead of creating an item in the SharePoint list for the form being displayed.  I am trying to create a Web services submit connection in InfoPath to do this.  I am uncertain of the url to use in the connection. Here are a few details:

1.  Main data connection is for List 1 in site A.
2.  The form displayed is for data in List A.
3.  When the submit button is pressed, I want to create a new item in List B, then create the item in List A.
4,  When I attempt to set up a submit data connection, I am using https://<tenant>.sharepoint.com/<site>/_vti_bin/<service>.asmx?WSDL.  That works when <service> is lists or webs, but then I don't see add item or anything similar.  And even if it did, how would it know which list to add the item to?

I can't readily locate services for Web services, and am still puzzled by not using a list name.  Is this kind of item creation even possible in InfoPath 2013?  (converting to PowerApps but need something right away).
Hi Guys,

I have a third party (custom developed) service running under Windows Server 2016.
When I use "Domain Administrator" as the logon account, the service is running just fine.
It generates log entries under C:\Application\logs

Ideally I don't want to run the service under the "Administrator" logon account,
I created an "APPSERV" account in AD, added the account to GPO (logon as service) and added the APPSERV account to the logon tab of the service.
However, the service is not running under the "APPSERV" account.  No log entries are being created either.

It seems permissions related.  Am I perhaps missing something?

I found various tutorials on how to create a web server/web API (I think these are one in the same). The tutorials I found use C# to demonstrate the tutorial. I believe the tutorials assumed knowledge the student has an understanding of protocols in order to understand the tutorial such as XML, JSON, etc..

I've written code for 46 years, however, I have not kept up on protocols for web services/web APIs. I'm looking for a beginners tutorial on how to create a web service/web API for a web application. This code will specifically allow me to interact with UPS (United Parcel Service).

Any assistance is most welcome using VB.NET.

Much thanks,
David Bach

In declaration, set the following variables:
Dim service As ILoadComplements_n0 
Dim data As DataComplemntSingle64_n3
Dim response As Statusreturn_n3

Open in new window

Dim content As String

Within initialize I declare the following:
Set service= New ILoadComplements_n0()
Set data = New  DataComplemntSingle64_n3()

Open in new window

content = "asdu7282368jd5hd6zxPasdg"
Call data.Setvaluefromstring(content)
Set response = service.LoadsingleComplemet64(data)
Print response.status.Getvalueasstring()
Print response.reason.Getvalueasstring()

Open in new window

My problem is the service returns me:

Estatus -> False
Motivo ---> the payment plug-in XML that is being loaded is empty

That False is back to me is fine, the problem is that he tells me that the content chain that I sent him is empty and it is not like that. A solution or explanation of why my web service receives an empty string?

I feel that my problem is in this line but I do not know why:
Set response = service.LoadsingleComplemet64(data)

Open in new window

I have two WSDLs that I would like to generate into apex classes using the "Generate from WSDL" button in Salesforce, but I'm getting an initial error that the schema is incorrect.

Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

Open in new window

I have limited knowledge of working with WSDL files and wanted to see if this is an error that can be fixed or if the WSDL cannot be converted to an apex class due to types that are simply not supported in the apex language.

If so, are there other alternatives to create the apex class/methods needed? Or, is it just a manual process?

I've attached the two WSDL files saved as flat files.

Thanks for any help.

Currently, I am working on a .net web application(Customer Portal)  that has a html5, angular 2.0 and web api controller etc.
Since the database is very slow, downloading a year data to a PDF takes longer time(more than 2 min).
So planning to send it as a CSV files to the customer email address. No need to maintain a queue or database, since a maximum of  30 requests comes per day.

What is the best approach to do this?
I was thinking to write a separate window service.
But maintenance will be there.  We will be maintaining a seperate application.

Is there a way to add a service to the Customer portal web application and maintain as a single application?
The eGuide to Automating Firewall Change Control
The eGuide to Automating Firewall Change Control

Today’s IT environment is constantly changing, which affects security policies and firewall rules. Discover tips to help you embrace this change through process improvement & identify areas where automation & actionable intelligence can enhance both security and business agility.

I am currently developing a credit check app which uses web services and the response I get is in Json string format. I tried converting this to a Json object... however I was unsuccessful. I need to store this json result into an excel document. The json result is in the following format after desterilizing:

"Key": "CreditResult",
"Value": [
"Key": "ConsumerInfo",
"Value": {
"RecordSeq": "01",
"Part": "001",
"PartSeq": "01",
"ConsumerNo": "943599475",
"Surname": "TEST SURNAME",
"Forename1": "TEST NAME",
"Forename2": "",
"Forename3": "",
"Title": "MS",
"Gender": "F",
"NameInfoDate": "20170129",
"DateOfBirth": "20170101",
"IdentityNo1": "1234567891234",
"IdentityNo2": "",
"MaritalStatusCode": "",
"MaritalStatusDesc": "",
"Dependants": "00",
"SpouseName1": "",
"SpouseName2": "",
"TelephoneNumbers": "H(000)0000000 B(0000)0000",
"DeceasedDate": "00000000"
"Key": "LastAddress",
"Value": {
"ConsumerNo": "943599475",
"InformationDate": "20170911",
"Line1": "ABC",
"Line2": "",
"Suburb": "ABC",
"City": "ABC",
"PostalCode": "0000",
"ProvinceCode": "A",
"Province": "ABC",
"AddressPeriod": "00",
"OwnerTenant": "",
"AddressChanged": "Y"
"Key": "CreditScore",
"Value": {
"ConsumerNo": "943599475",
"PolicyFilters": [
"Indicators": [
"Type": "00",
"Score": "000"
"Type": "00",
"Score": "0"

I hope that someone is able to help. The web development team have changed the current website that we are using. We have an order download application that integrated into mageno.

The issue is that I try to change the endpoint address to the following and I receive an error:


Error message is attached(error1)

I have also tried to generate a proxy class using the same error message.

My issue is that I can browse to this URL ok.

I would appreciate any help. I have contacted the hosting company and they don't have any iea.

Best Regards,

I have a piece of code that works fine in a windows executable but when I move the same code to a web services it fails with:
"The request was aborted: Could not create SSL/TLS secure channel."
see the below code where I wrote "FAILS"

               ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
                HttpWebRequest req1 = (HttpWebRequest)WebRequest.Create("https://thewebsite?wsdl");

                req1.ContentType = "text/xml; charset=\"utf-8\"";
                req1.Accept = "text/xml";
                req1.Method = "POST";

                System.Security.Cryptography.X509Certificates.X509Certificate2 x = new System.Security.Cryptography.X509Certificates.X509Certificate2("D:\\tlr\\TLR.crt", "");

                using (Stream stm = req1.GetRequestStream())
                    using (StreamWriter stmw = new StreamWriter(stm))

                IAsyncResult asyncResult = req1.BeginGetResponse(null, null);


                string soapResult = "";
                using (WebResponse webResponse = req1.EndGetResponse(asyncResult)) // FAILS!
                    using (StreamReader rd = new StreamReader(webResponse.GetResponseStream()))
Trying to create an SSRS report that uses ArcGIS web service to convert coordinates to feet. No matter what I do I only get the method envelope and not the return data which is an array of geometry (x,y).
Attached is the wsdl file.
The report and the dataset have the parameters mentioned in the dataset.
This is my datasource:
This is my dataset:
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
<Method Name="Project" Namespace="http://www.esri.com/schemas/ArcGIS/10.3/">
                <Parameter Name="inSR" Type="String"></Parameter>
      <Parameter Name="outSR" Type="String"></Parameter>
      <Parameter Name="geometries" Type="Array"></Parameter>
      <Parameter Name="transformation" Type="String"></Parameter>
      <Parameter Name="transformforward" Type="String"></Parameter>
<ElementPath IgnoreNamespaces="True">ProjectResponse{}/Result{}/diffgram{}/Table{}/geometries{x,y}</ElementPath>

I get the titlecell, breadcrumbs and apiref instead of getting the geometries x and y values.
Which platform do you recommend to integrate with internal, external APIs, web services but also support robust message queuing mechanism ? Is it better to split the two i.e. separate API integration platform and message queue platform?

Our current setup is:
-One single server (HP DL350G9) as dedicated hyperV host only for VDI (RD Virtualization Host) only
-Roles installed on physical box are: HyperV and Remote Desktop Connection Broker and RD Virtualization Host
-this hyperV host has 30 vm's with Windows10
-there is only one VDI collection
-inside virtual desktop collection setup \ Virtual Desktop Configuration \ Local storage is set for: Local and local virtual desktop creation location is set: D:\VDI

Q1: Is there a way to migrate current virtual desktop collection from physical host to vm ? without loosing existing 30 vm with windows 10?

Our goal is to move whole VDI setup as it is in to new cluster or other hyperv hosts.

Maciej Pepek
how to change the banner size in servicenow with script
I want to create a web services (soap only) that allow php, aspx, and most common programming languages to consume my web services.
My native language is .net/c# with WCF. However, I am definitely okay to learn new stuffs if it is necessary.

All I need now is simple web services like "hello world" so I can get start it.
UseCase 1 :-  Http Method : Get , expected json is {"id":1, "effecitveDate" :"2017-08-13 08:10"} - working fine

UseCase 2 :- Http Method : Get, expecting a list of objects i.e. ["id":1, "effecitveDate" :"2017-08-13 08:10"} ,"id":2, "effecitveDate" :"2017-08-16 08:10"}

but I am getting  date like ["id":1, "effectiveDate": [
"id":2, "effectiveDate": [

How to solve this date issue.
Note : I am using java8 LocalDateTime.
Get Cisco Certified in IT Security
Get Cisco Certified in IT Security

There’s a high demand for IT security experts and network administrators who can safeguard the data that individuals, corporations, and governments rely on every day. Pursue your B.S. in Network Operations and Security and gain the credentials you need for this high-growth field.

Hello, is there a command line tool that tests web services to see if they work?  Thanks!

I am using self written Java programmes at home that consume SOAP web services from my rc plane club. So far everything works good, But sometimes the SOAP web services that I use are not available due to maintnance or problems at the club's server. I want to monitor the availability of the SOAP services and persist the status. When I use the SOAP services the programme shall first check the availability from the monitor and if the status is 'available' perform the desired request or else queue the request until the service becomes available again.

Before I start to re-invent the wheel and write my own monitor I wanted to know if there are already tools that can accomplish this task, which can be easily embedded or used in Java before a request.

Best regards,
We are using Navision Web Services to publish the data so the third party application can consume, for our web services we need to pass username and password, I have done this several times using .NET but one of our client they are using Action Script and they are new to the web service.

Can anybody please help me with sample code for passing credentials, it is WSDL service.
Trying to consume webservice using wcf client, getting following error

The content type multipart/related; boundary=MIMEBoundaryurn_uuid_B50EC784A204DC07C91495512014914; type="text/xml"; start="<0.urn:uuid:B50EC784A204DC07C91495512014915@apache.org>"; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the  . The first 1024 bytes of the response were ...

Fiddler is showing the complete response but wcf is not able to deserialize the complete response. Response contains Japanese characters.
Example for WinRM  API using SOAP
Hi I am really stick here - I want to to change my service request - can someone please help me out: Thank you!

I am using nuSOAP with Code igniter


<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:OmniBeeEndPoint">
      <urn:GetRoomTypes soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <Token xsi:type="xsd:string">?</Token>
         <HotelCredentials xsi:type="urn:NestedParam">
            <!--You may enter the following 3 items in any order-->

<?xml version="1.0" encoding="utf-8"?>


<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" …

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.