Chapter 3 Section 1 - Web Services Core functionality and standards
The Web materials and resources of Chapter 3 are listed here.
Chapter 3, Web Services-Core functionality and standards
Section 1 Web services-core standards
Chapter synopsis
Chapter 3 will go through the WS-* standards, technologies and APIs that are commonly used to implement a service-oriented application. Bottom-up and top-down service implementations approaches are explored. This chapter introduces also two service integration and composition techniques, namely service orchestration and choreography for composing individual services so as to achieve useful business processes. By the end of this chapter, students will come to know about service implementation,testing, discovery, publication and invocation platforms. Basic concepts of orchestration and choreography, with orchestration and choreography readily available orchestration platforms and workflow engines like BPEL are also explained.
Before lecture
📚 ToRead
Objective : prepare web services(SOAP) implementation platforms
- From XML Visual quick start guide, 2nd edition
- Part 17. Ajax, RSS, SOAP, and More
- From Web services : principles and technology
- Chap 4. SOAP
- From Building Web Services with Java: Making Sense of XML, SOAP, WSDL, and UDDI 2nd Edition
- Chap . SOAP
📝 ToDo
To go through the lifecycle of a web service, we will need several tools that you should install on your machine.
** Web service implementation **
In order to implement web services either in Bottom-up or top-down web services, you will need :
-
AMPPS,MAMP, WAMP, LAMP, or XAMPP software stack enabling Apache, Mysql and PHP. This includes everything you need for implementing Web services.
-
PhP comes with a top-down enabling web services implementation API. But for implementing web services along the bottom-up approach, we will be using NUSOAP : NuSOAP is a rewrite of SOAPx4, provided by NuSphere and Dietrich Ayala. It is a set of PHP classes - no PHP extensions required - that allow developers to create and consume web services based on SOAP 1.1, WSDL 1.1 and HTTP 1.0/1.1. Please download NUSOAP, unzip it and add it to your
wwworhtdocsfolder in your installed web development platform.
** Web service testing **
In order to test web services we will be using :
SOAPUI the open source version : an API (SOAP/REST) testing tool.
After lecture :
💻 ToCode
Clone the following client on your machine : https://github.com/neilabenlakhal/webservice1.git
-
Install required softwares (SOAPUI, Web app server, NUSOAP).
-
Test the code on your machine and make sure it is working properly.
-
Run
SOAPUItest of several SOAP web services (see additional resources section). -
Choose one SOAP web service and test it with
SOAPUIthen, write a client to call it (write a PHP client using NUSOAP or SOAPserver class). -
Push your Web service client codes and print screens of your SOAPUI tests (successful tests + faulty tests) to your
GITrepository named ToCode3.
Send the following on Microsoft Teams :
- Link of your Web service client (git repository to be named ToCode3).
Preferred text editor:
It is highly recommended to use :
- 🔗Visual studio code with RedHat extension. This extension will help you with XML validation.
Additional resources:
Several web services web sites :