Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

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

Let's say I've bought a domain called "mynicedomain.org"

Now I want to have a mail service. Let's say office 365 or gsuite so I can have an email address called "ben@mynicedomain.org"

Beyond that I want to buy a web hosting (like GoDaddy) service to serve "http://mynicedomain.org".

Maybe I also want an intranet service hosted by AWS virtual machine at "http://wwwin.mynicedomain.org".

Can this be accomplished? If so how it works? Who is going to be nameserver for my domain?
0
When ransomware hits your clients, what do you do?
When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

lost
i have the Microsoft Office 2003 Web Services Toolkit. and it created a new class clsws_CEMService
from http://www.pli.edu/public/CEM/Service.asmx?wsdl
need to create vba coding to use this webservice
"http://www.pli.edu/public/CEM/Service.asmx?op=CEMgetAttendence"
0
Dear
Our company would like to help employees to send Big size file over email system which based on EX2007 sp3
and need similar mechanism to Gmail email system
As you knew while u trying to send big file Gmail ask you to upload on one drive ,so is there similar solution with Ex2007 environment
Regards
0
how to change the banner size in servicenow with script
0
I would like to build web portal to collect horse racing information in USA only. Anyone know where I can get the database or API ?
0
We have an ASP.NET application which uses multiple web services. It's an old project in Visual Studio 2010 that included the web services using dynamic discovery.

The project was initially published to a development machine running Windows Server 2003, but was changed to a 2008 R2 server some time ago. I'd now like to update the web references but trying to do that from within VS2010 results in the error -

There was an error downloading 'http://server.address/WS/WS.vsdisco'. The request failed with HTTP status 404: Not Found.

If I try to open the vsdisco from a browser on the server it returns -

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.


I've added the HttpHandler entry for vsdisco files to both the machine.config and web.config files on the server. The vsdisco file opens fine from a server running IIS6.

Is there a fundamental difference between IIS6 and IIS7.x that means this simply won't work, or can I just add a MIME record for vsdisco files? If so, does anyone know what the MIME type should be? I've tried 'text/xml' but that just returns a schema error.

I know this has been superseded by WCF services, but for the time being I'd rather not have to make a more major change to the code to implement that. The web services have been built using the .NET 2.0 framework.

Many thanks,…
0
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.
0
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": [
            2017,
            8,
            13,
            8,
            10
        ]},
"id":2, "effectiveDate": [
            2017,
            8,
            16,
            8,
            10]}
]

How to solve this date issue.
Note : I am using java8 LocalDateTime.
0
Hello, is there a command line tool that tests web services to see if they work?  Thanks!
0
Hello,

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,
CB
0
2017 Webroot Threat Report
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

I have an XML file that when passed through SOAP UI returns a proper response as XML file. I need to create an application to pass the XML and recuperate the response. I tried searching but many say REST web service where they using only post/get.

Please send me some sample code and/or tutorials.
0
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.
0
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.
0
Example for WinRM  API using SOAP
0
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

================================================
CURRENT REQUEST:

<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">
   <soapenv:Header/>
   <soapenv:Body>
      <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-->
             <Code>21</Code>
                 <UserName>TestUser</UserName>
             <Password>Password123</Password>
         </HotelCredentials>
      </urn:GetRoomTypes>
   </soapenv:Body>
</soapenv:Envelope>
====================================
THE WAY I NEED IT:

<?xml version="1.0" encoding="utf-8"?>
<GetRoomTypesRQ>
       <Token>1c056556-510b-4bda-8103-b595928b990a</Token>
       <HotelCredentials>
              <Code>21</Code>
              <UserName>TestUser</UserName>
              <Password>Password123</Password>
        </HotelCredentials>
</GetRoomTypesRQ>

============
============
CURRENT RESPONSE

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" …
0
I have developed Webmethod in C#. Here server send the Json Array in POST Request in the Below format.
[{ "name" : "AAAA", "address" : "Chennai"},{"name": "BBBB", "address":"Trichy"}]

Open in new window

How to read this Json and Serialize this Json?

When I Change the Request to below type my code is working Properly.
"JsonData":{[{ "name" : "AAAA", "address" : "Chennai"},{"name": "BBBB", "address":"Trichy"}]}

Open in new window

0
Hello,
 
I'm trying to create a document set in a document library SharePoint online.
 
I have a special document set for this : Events
 
I need to create this event in à webservice Azure, and i try with this code :

    ClientContext clientContext = GetonlineContext();    
                Web spWeb = clientContext.Web;  
                var formLib = spWeb.Lists.GetByTitle("Event");  
                ContentTypeCollection listContentTypes = formLib.ContentTypes;  
                ContentTypeId dsCtId = new ContentTypeId();  
                clientContext.Load(listContentTypes, types => types.Include(type => type.Id, type => type.Name, type => type.Parent));  
                var result = clientContext.LoadQuery(listContentTypes.Where(c => c.Name == "Events"));  
                clientContext.ExecuteQuery();  
                ContentType docsetCT = result.First();  
                ContentTypeId ctid = docsetCT.Id;  
                DocumentSet.Create(clientContext, formLib.RootFolder, value.name, ctid);  
                clientContext.ExecuteQuery();

 

    private class Configuration  
            {  
                public static string ServiceSiteUrl = "https://****.sharepoint.com";  
                public static string ServiceUserName = "*****";  
                public static string ServicePassword = "******";  
            }  
            static ClientContext GetonlineContext()  
            {  
                var securePassword = …
0
Dear sirs,
I am completing a web service whose role is to share data between a desktop application and a web one.
I can upload data (List<?>) using a HTTP POST request, download data using a HTTP GET request.
With a web service, once data is uploaded I can use the same routine to do further processing.
I had an intention to switch to FTP since the data to upload can be large, and send a HTTP POST request to trigger the processing of the data uploaded via FTP.

My concern is this one: if I stick to HTTP, what is the maximum size allowed in a HTTP request.

Regards
0
We are reviewing options for deploying Cross Forest, Users and Computers Certificate Auto-Enrollment.  
Which method is preferred over the other?  What are the Pro / Cons between the two options.  We are leaning towards the Web Services method as it appears to be the modern architecture for future proofing our design.
0
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,
I need to create a web service in vs 2015. This web service will connect to active directory and get all different kinds of information.
I need to call the same web service from asp.net application, asp.net mvc and classic asp applications. What kind of service is preferred WCF or Ajax enabled WCF? Which is more clean and more secure??  This service is going to host in cloud environment.

Which wcf service is more commonly used in this kind of situation?

thanks
0
Where to begin.  I am not experienced with XML and SOAP so I may be using the wrong terminology.

I am writing an XML oriented Web Service consumer program (VB) using Visual Studio.  I used a text file WSDL, that I was given, to add a suitable web reference which includes one Method and about 10 classes which provide access to Request and Response XML elements.  The request and response both have "control" and "data" areas.

I was told that the web service requires credentials.  I was told that these credentials are to be placed in the Header of the SOAP envelope.  It appears that Microsoft, when creating the web reference, created a "client" oriented class which seems to be providing access to client credentials found in Microsoft's ServiceModel.Description class.

Anyway, when I try to run a simple test, I keep receiving an "OSB-386200 General Web Service Security error" when executing the Process method supplied to me by the web reference.  In WireShark, I see a "Client Hello" and a "Server Hello"...so basic communication is there.

1. Is the ServiceModel's ClientCredentials.Username (username and password) the right place to put the user and password?  Does this put the user / password values into the SOAP's header area?  
2. Is there a way to view the SOAP envelope message that is being sent to the web service from Visual Studio?  This would be very helpful to see if the credentials are being sent with the request data.  I am fairly comfortible with WireShark if…
0
Here is my code :


import java.io.StringReader;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
import org.springframework.ws.client.WebServiceIOException;
import org.springframework.ws.client.core.WebServiceTemplate;
import org.springframework.ws.soap.client.SoapFaultClientException;
import org.springframework.ws.soap.client.core.SoapActionCallback;

public class SpringWSClientSample {

      private static final String MESSAGE = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope\" xmlns:web=\"http://www.webserviceX.NET\">"
                  + "<soapenv:Header>"
                  + "</soapenv:Header>"
                  + "<soapenv:Body>"
                  + "<web:ChangeMetricWeightUnit>"
                  + "<web:MetricWeightValue>40000</web:MetricWeightValue>"
                  + "<web:fromMetricWeightUnit>milligram</web:fromMetricWeightUnit>"
                  + "<web:toMetricWeightUnit>gram</web:toMetricWeightUnit>"
                  + "</web:ChangeMetricWeightUnit>"
                  + "</soapenv:Body>"
                  + "</soapenv:Envelope>";

      private final WebServiceTemplate webServiceTemplate = new WebServiceTemplate();

      public static void main(String[] args) throws Exception {

            SpringWSClientSample client = new SpringWSClientSample();
            client.simpleSendAndReceive();
      }

      public void simpleSendAndReceive() {
            try {
                  StreamSource source = new StreamSource(new StringReader(
                              MESSAGE.toString()));
                  StreamResult result = new StreamResult(System.out);
                  
0
I do not really know anything about REST web services but have some experience with SOAP web services.  A while back a developed a dynamic SOAP Connector that worked by exposing all the APIs in a SOAP web service along with the parameters for each.  This was very useful but I wanted to know if the same thing was possible for REST?  Again, I really don't know anything about REST web services and whether or not it would be possible to build something that would expose all the REST API's and Parameters.    A user of this application would then specify the API and fill in the parameters.  Can someone help me understand the difference between REST and SOAP and whether something like this would even be possible?
0
How to call WSDL from Stored Procedure in a SQL Server.
0
My server crashed and we had to start over.  We recovered the data and now have to add back our main website.

The first thing was to add web services back for an android app.  And were successfully added.  I see the application pool for it.
But I do not see a site for it.  It is running fine.

But then I add our main website and I place it under the default website in IIS (left side pane).
When I add the website (which runs .aspx pages), the site works fine and the .aspx pages work fine, however it interferes with the web services for android app causing those web services no longer to function.

I am looking for a list of possibilities and things to check so that both can run in harmony.
0

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.