Introduction to Web Services and HOW-TO in php
AGENDA Web services introduction Web Service Architecture Consuming web services How-to with PHP Summary
What is Web Service ? A   WEB SERVICE  is a distributed unit of business logic that can be accessed over the internet standard web protocols, such as HTTP, and that uses XML for sending and receiving messages. A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.(w3c). Technically, its is a way to link loosely coupled systems using technology that doesn’t bind them to a particular programming language, component model, or platform.
Why Web Services ? Allows businesses to use the internet to publish , discover, and aggregate services. Solve interoperability in a platform-neutral way. Provides a solution to bypass firewalls, thus allowing client to access a remote service.
Web Service VS Web Pages Network Transport Messaging Description Discovery UDDI, WSIL, ebXML WSDL, RDF, ebXML SOAP, XML-RPC(XML)‏ HTTP, SMTP, FTP TCP/IP, UDP LAYERS PROTOCOL/STANDARD
Consuming Web Services Service Listener Service Interface Service Implementation Network Calls SOAP Response Execution Return Values/Result Php code SOAP implementation & WSDL Description Apache HTTP server SOAP request via HTTP POST
Consuming Web Services Way: SOAP: Simple Object Access Protocol XML-PRC: XML Remote Procedure Call REST : Representational State Transfer

Introduction to web services and how to in php

  • 1.
    Introduction to WebServices and HOW-TO in php
  • 2.
    AGENDA Web servicesintroduction Web Service Architecture Consuming web services How-to with PHP Summary
  • 3.
    What is WebService ? A WEB SERVICE is a distributed unit of business logic that can be accessed over the internet standard web protocols, such as HTTP, and that uses XML for sending and receiving messages. A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.(w3c). Technically, its is a way to link loosely coupled systems using technology that doesn’t bind them to a particular programming language, component model, or platform.
  • 4.
    Why Web Services? Allows businesses to use the internet to publish , discover, and aggregate services. Solve interoperability in a platform-neutral way. Provides a solution to bypass firewalls, thus allowing client to access a remote service.
  • 5.
    Web Service VSWeb Pages Network Transport Messaging Description Discovery UDDI, WSIL, ebXML WSDL, RDF, ebXML SOAP, XML-RPC(XML)‏ HTTP, SMTP, FTP TCP/IP, UDP LAYERS PROTOCOL/STANDARD
  • 6.
    Consuming Web ServicesService Listener Service Interface Service Implementation Network Calls SOAP Response Execution Return Values/Result Php code SOAP implementation & WSDL Description Apache HTTP server SOAP request via HTTP POST
  • 7.
    Consuming Web ServicesWay: SOAP: Simple Object Access Protocol XML-PRC: XML Remote Procedure Call REST : Representational State Transfer