Go Premium for a chance to win a PS4. 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

I've been watchin a video from Amazon on AWS Direct Connect. I see that a direct connection is made from Amazon Direct Connect PoP to a router in a co-location facility. The from there there is a circuit (say 1Gbps or 10Gbps) to the enterprise itself. The presentation at turns talked about the carrier owning the (a?) router and the customer owning the router. In the diagram attached below - the device labeled "Customer Gateway" is generally owned and configured by the end customer/user of Amazon Web Services? Or is that more typically owned by the carrier that is providing the data circuit? And finally if the carrier owns that device do they configure it or leave that to the customer? Thank you for clarifying this point for me.
AWS-Direct-Connect.jpg
0
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.

Hello experts,

I need to develop a system to be used by users from different locations, I think the best option to do it is AWS. I already saw some services of AWS but till now, I'm not sure how to start and what services I will need. This is the first time that I make a system to use a database on a cloud. All the systems and apps that I have made before are for local use only or to access thru a remote desktop connections or TeamViewer , so I use a server to host the data bases and the programs.

I will use vb.net and MySQL database but I think I need a more things like a Virtual Server, maybe VPN and other things.

Does anybody have done something like this?

Please I need an advice, I'm a little lost.

Thank you very much in advance.
0
I am try to connect to web services and this show that error:

ERROR App Error sin controlar ---> com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused: connect
      at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:132)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:223)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:145)
      at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
      at com.sun.xml.ws.client.Stub.process(Stub.java:463)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:191)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)
      at com.sun.proxy.$Proxy41.updateEmail(Unknown Source)
      at com.bancoexterior.sf.SF.actualizarMail(SF.java:73)
      at com.bancoexterior.SF.updateMail(SF.java:317)
      at com.bancoexterior.App.accion(App.java:253)
      at com.bancoexterior.App.main(App.java:140)
Caused by: …
0
Which is the best place to learn Tableau Online?
0
Hello experts,

I need to build a MySQL database on Amazon Web Services, the application will be made in vb.net, since this is the first time I'm going to use this service, one of the main objective for this project is to send emails using the contacts that will be stored in the data base.

Is there any service I an use or I have to code using another service from Amazon?

So, I'm looking for an expert advice before continuing.

This is very important for my client, so I really appreciate the help you guys can give me.

Thank you so much in advance.
0
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
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
Cyber Threats to Small Businesses (Part 1)
Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

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
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
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 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 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
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 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
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
Hello,
What other programming languages for web service development?  Which is better PHP or html?
0
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

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.