Where to find free public Web Services?

https://www.programmableweb.com/ — Great collection of all category API’s across web. It not only show cases the API’s , but also Developers who use those API’s in their applications and code samples, rating of the API and much more. They have more than apis they also have sdk and libraries too.

Could not establish secure channel for SSL/TLS with authority ‘*’

Yes an Untrusted certificate can cause this. Look at the certificate path for the webservice by opening the websservice in a browser and use the browser tools to look at the certificate path. You may need to install one or more intermediate certificates onto the computer calling the webservice. In the browser you may see … Read more

Web Service vs WCF Service

This answer is based on an article that no longer exists: Summary of article: “Basically, WCF is a service layer that allows you to build applications that can communicate using a variety of communication mechanisms. With it, you can communicate using Peer to Peer, Named Pipes, Web Services and so on. You can’t compare them … Read more

No found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations:

Look at the exception: This means that there’s no bean available to fulfill that dependency. Yes, you have an implementation of the interface, but you haven’t created a bean for that implementation. You have two options: Annotate UserDaoImpl with @Component or @Repository, and let the component scan do the work for you, exactly as you have done with UserService. Add the … Read more

Working Soap client example

To implement simple SOAP clients in Java, you can use the SAAJ framework (it is shipped with JSE 1.6 and above, but removed again in Java 11): SOAP with Attachments API for Java (SAAJ) is mainly used for dealing directly with SOAP Request/Response messages which happens behind the scenes in any Web Service API. It allows … Read more

How to call a REST web service API from JavaScript?

I’m surprised nobody has mentioned the new Fetch API, supported by all browsers except IE11 at the time of writing. It simplifies the XMLHttpRequest syntax you see in many of the other examples. The API includes a lot more, but start with the fetch() method. It takes two arguments: A URL or an object representing the request. Optional … Read more