Web service Tutorial Content:
- Introduction to web services
- Web services interview questions
- SOAP web service introduction
- RESTful web service introduction
- Difference between SOAP and REST web services
- SOAP web service example in java using eclipse
- JAX-WS web service eclipse tutorial
- JAX-WS web service deployment on tomcat
- Create RESTful web service in java(JAX-RS) using jersey
- RESTful web service
- JAXRS JSON example using jersey
- RESTful web service
- JAXRS CRUD example using jersey
- AngularJS RESTful web service
- JAXRS CRUD example using $http
- RESTful Web Services (JAX-RS) @QueryParam Example
- Spring Rest simple example
- Spring Rest JSON example
- Spring Rest xml example
- Spring Rest CRUD example
A simple web service architecture have two components
- Client
- Service provider
So as in above diagram,how client will communicate to service provider.So in order to communicate client must know some information for e.g.
- Location of webservices server
- Functions available,signature and return types of function.
- Communication protocol
- Input output formats
Service provider will create a standard XML file which will have all above information.So If this file is given to client then client will be able to access web service. This XML file is called WSDL.
What is WSDL?
WSDL stands for Web Service Description Language. It is an XML file that describes
the technical details of how to implement a web service, more specifically the URI,
port, method names, arguments, and data types. Since WSDL is XML, it is both
human-readable and machine-consumable, which aids in the ability to call and bind to
services dynamically.using this WSDL file we can understand things like,
-    Port / Endpoint – URL of the web service
- Â Â Â Input message format
- Â Â Â Output message format
- Â Â Â Security protocol that needs to be followed
- Â Â Â Which protocol the web service uses
Ways to access web service:
- If Service provider knows client:If service provider knows its client then it will provide its wsdl to client and client will be able to access web service.
- Service provider register its WSDL to UDDI and client can access it from UDDI:UDDI stands for Universal Description, Discovery and Integration.It is a directory service. Web services can register with a UDDI and make themselves available through it for discovery.So following steps are involved.
- Service provider registers with UDDI.
- Client searches for service in UDDI.
- UDDI returns all service providers offering that service.
- Client chooses service provider
- UDDI returns WSDL of chosen service provider.
- Using WSDL of service provider,client accesses web service.
In next post,we will see SOAP hello world example in java using eclipse.
Good Explanantion ….
Hi
Thank you very much.
I got a job with your tutorial.
Once again thanks a lot
Very simple and perfect
really nice and explanatory post.
thanks keep going
nice
Supe Explanation.
very clear and easy to understand
Post written is very helpful for beginners
good tutorial.
Nice very easy to understand
f
Way do you say “is called WSDL”?
In general REST web service provide WADL (Web Application Description Language)
Sorry, I am confused in article. It is about SOAP, WSDL is right.
Thank you very much. Very good tutorial. Thnaks
Excellent tutorial. Keep it up.
excellent stuff simple explanation yet so clear
This is a good one..Write some advance tutorials ,they also would be very useful like these do…
Precise and clear
very very nice unbelievable
nice tutorial!!
Your WSDL/UDDI description is very concise and understandable – thank you very much. I wish all tutorials were this clearly presented.
nice
very good tutorial
Great tutorial and easy to understand language.
Thanks a lot.
nice
Good one….
Good Explanation!!!!!!
Great article
Excellent articulation! Thank you!
Simple and easy to understand tutorial for beginners
Very Nice Explanation easy to uderstand
Very Nice. Thanks
Easy to understand.
Thanks
clear explanation…. Thank you so much….
Great!
Great tutorial thanks buddy…
Nice explanation. I was wondering a website, where all the wordings and explanations would be in simple language and easy to understand.
Very Good. Now I have a clear idea about Web Service.
Thanks very helpful 🙂
Good Tutorial and Great Service
Good explaination. Awesome post
Nice very easy to understand.
good resource to develop the knowledge
it’s simple and easy to learn, so thank u very much!
very nice and understanding explanation of SOAP and RESTfull web services.