₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,454 members, 8,512,007 topics. Date: Monday, 02 November 2026 at 04:27 PM

Toggle theme

Web Service Tutorial - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Web Service Tutorial (1155 Views)

1 Reply

Web Service Tutorial by ellengomez0122(op): 2:05pm On Jul 31, 2017
Web services are language independent way of communication through which different applications can exchange information over the internet. Java provides its own API to create web services.

There are two types of web services :
1. SOAP web services
2. RESTful web services

SOAP web services: SOAP stands for Simple Object Access Protocol. It is a language independent protocol which enables client applications to communicate with server application through the internet. It permits the only XML based information for sharing. It doesn't allow other data formats. java provides JAX-WS API for creating SOAP web services.

RESTful web services: REST stands for Representational State Transfer. It is an architectural style, not a protocol. It uses HTTP methods to implement the concept of RESTful web services. It allows different data format like HTML, XML, plain text, JSON. It is fast. It consumes less bandwidth and resources.

For more detail visit: http://www.java2blog.com/
Re: Web Service Tutorial by Nobody: 5:09am On Aug 02, 2017
Just to expand a bit further. You use SOAP for shearing objects, methods, functions or to exchange, update or delete data between different systems remotely via Serialization and XML.

REST on the other hand uses standard HTML Protocals for exchanging, updating and deleting data remotely. REST is better if you are just exchanging data only as it has less overheads unlike SOAP.
1 Reply

Programmer Proficient In Connecting To A Web Service Through JSON In Wordpress • Amazon Web Service (CSA) Certification: I Need Information About The Certificati • Learn How To Code Android, Build Web Service With PHP And How To Host A Website. • 2 • 3 • 4

Austin Decor POP • Android Application Creation: Learn How To Create An Android Application • Open Source Simple Portfolio Website