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
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.

Need a simple tech guys for a real estate project with web services with mls data  And wordpress
0
 
LVL 7

Expert Comment

by:Brian Matis
Hi Jeff! If you're looking to get help with a short-time, one-off project, I'd recommend checking out the Gigs feature here on Experts Exchange. If it's more of a long-term hire, then take a look at Careers. Best wishes!
1
This is the code:
    public static function callApiUpdate($hostname, $ip)
    {
        $service_url = 'http://blablabla.com/api/updateDdns';
        $ch = curl_init($service_url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
/*
        $payload = array(
            'hostname' =>  $hostname,
            'ip' => $ip,
        );
        curl_setopt($ch, CURLOPT_HTTPHEADER,array('Content-Type: application/json')); 
        curl_setopt($ch, CURLOPT_POSTFIELDS,CJSON::encode($payload));
*/
        $response = curl_exec($ch);
/*
        if ($response === false) {
            $info = curl_getinfo($ch);
            curl_close($ch);
        }
*/
        curl_close($ch);
    }

Open in new window


Whenever I enable sending the payload the server where the API is executed doesn't receive any call while if I don't send any payload (and modify the api on the receiver server) the called server does receive the call.

Any idea why this could happen or something I forgot to check?
0
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
I am currently hosting an API as an Azure App service. But I want to move it into my Virtual Machine and run it in IIS.
I already set it up as I would with any website but for some reason the page does not come up. Is there anything in specific I need to do to run the service?
0
I was wondering why I should use Amazon Web Services for a relational database instead of just running the database on the server.

The application is as follows - apps will be able to enter data into this database. PHP will be able to export a CSV file.

I was going to use cryptography to secure remote access from the app. Would this be more desirable than a static IP VPN?

I'm leaning towards just having the database run on the server.
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
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?
0
how to change the banner size in servicenow with script
0
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.

Thanks
0
Threat Trends for MSPs to Watch
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

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?
0
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.

Thanks
0
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?

Thanks.
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 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

http://xx.xx.xx.xxx/DCRules2Alias/Service.svc/MobileRegistration/?&userId=TESTUSER&enterpriseId=TESTENTERPRISE&deviceId=TESTDEVICE&qrcode=TESTQRCODE
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

regards
Pat

Operation Contract for MobileRegistration web service
[OperationContract]
[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

0
While hitting ewbserive using chrome advanced rest client getting eror as below for post and put request if i do not select "application/xml" from drop down.

unsupported media type error

i wonder why i ahve to select that value as
"application/xml"

delete also not working
insgtead of giving 200 OK giving 204 no content even though it seems deleting successfully

please advise
RestAPI.png
RestAPI2.png
RestAPI3.png
delete126.png
delete126_2.png
delete126_3.png
delete126_4.png
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
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 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?
0
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.
0
Hello,

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.
Plus:

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.
0
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.
0
Hello, is there a command line tool that tests web services to see if they work?  Thanks!
0
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

Description

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…
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.