Showing posts with label Web Service. Show all posts
Showing posts with label Web Service. Show all posts

Saturday, May 14, 2016

Creating Web Service Using Axis2(Servlet.init() fir servlet AxisServlet threw exception)

When i tried to create Web Service using Axis2, i successfully get the Apache welcome page. But when i click the Services i got error like below,


I solve this by downloading xmlschema-core-2.2.1  and copy the xmlschema-core-2.2.1.jar file inside the lib folder and paste it to the project WebContent/WEB-INF/lib. Then right click --> Build path --> Configure Build Path

Then the Servlet.init is gone.

Friday, May 13, 2016

Web Service


A Web Service is a code that is exposed over the network and can be invoked using HTTP.
Using web service your functionality can be exposed to rest of the world. Web service uses SOAP to transport data. It is a open protocol. With web service the functionality can be consumed from different platforms. For example you can create a web service in your windows computer and that can be consumed from your android mobile.


Using web service you can create a loosely coupled client server environment. Which means, when the server code is changed it is not always necessary to change the client code.