SlideShare a Scribd company logo
1 of 20
Download to read offline
Enterprise Web
Services With WSO2
WSF/PHP 2.0
Selvaratnam Uthaiyashankar
shankar@wso2.com

September 2008
WSO2 Background
   Founded in August 2005 by Leaders in XML and Web
    services technologies & standards and open source
   Building complete SOA platform, all 100% open
    source
   Founders/ leading contributors to all key Apache
    Web Services/SOA Projects
   Provide commercial support, training and services
    around the software & solutions
   Global corporation with R&D center in Sri Lanka
    and offices in US & UK, totalling 60 + employees
What is the problem with the existing
PHP Systems?


                                  Financial System
Content Management
      System




                                                     Social Networking
                                                          System
                     CRM system
What is the problem with the existing
 PHP SOAP support?


                                                                 SAP
          SOAP 1.1                         .NET
          No security
          No reliability
          No WS-I BP
 PHP
Website
          No MTOM Binary             Secure, Reliable, Binary
          No WS-Addressing   J2EE
                                         Web Services



                                                                CICS
                                    Java
What is WSF/PHP?
   A library that allows users to Create and
    Consume SOAP and REST Web Services in
    PHP
      With full Secure Reliable Interop against
       .NET, Java and JEE
      Simple PHP-friendly programming model

    $client = new WSClient(array(quot;useMTOMquot; => TRUE,
             quot;useSOAPquot; => quot;1.2quot;,
             quot;useWSAquot; => TRUE,
             quot;policyquot; => $wspolicy,
             quot;securityTokenquot; => $sec_token));
Comparison with other SOAP libraries


    Package         Written in   WSDL      Attachment   Security   Reliability


 PHP5 SOAP Ext          C        Partial      No          No           No


    NuSOAP            PHP         Yes         No          No           No


SCA with PHP(IBM)     PHP         Yes         No          No           No


 WSO2 WSF/PHP           C         Yes         Yes         Yes         Yes
WSF/PHP Features
   Stability
   Multiple Deployment Models
       Linux
       Windows
       Solaris
       Apache
       IIS
   Tested with Zend Core for stability and functionality
WSF/PHP Features (Cont...)
   Comprehensive Support for WS-* Standards
       WS-Addressing
         •Version Submission, 1.0
       WS-Security
         •Version 1.0, 1.1
         •Base security standards mean that messages can be protected using
         Encryption, Authentication and Signature
       WS-Trust, WS-SecureConversation
         •Version 1.0, 1.3
         •Advanced security standards allow single-sign on, more efficient
         encryption and more secure deployment
       WS-Policy and WS-SecurityPolicy
         •Enables using industry standard XML to configure security
       WS-ReliableMessaging 1.0, 1.1 and WS-RMPolicy
         •Enables reliability between PHP and other platforms including
         message resending, duplicate detection and persistence
WSF/PHP Features (Cont...)
   Support for Contract First And Code First
    approaches
     WSDL  1.1 and WSDL 2.0
     SOAP 1.1 and SOAP 1.2
     WSDL Generation support using annotated code.
     Wide coverage of complex schema constructs.
     WSDL2PHP Script to generate client and services for
      given WSDL.
WSF/PHP Features (Cont...)
   Enterprise Level Security
     Authentication
     Confidentiality
     Integrity
     Non-Repudiation
     Replay   Detection
WSF/PHP Features (Cont...)
   Binary Data Capability
     Support for Base64, SWA and MTOM
     Secure MTOM support
     MTOM with reliable support
     WSDL Mode API
          Quick and easy API to handle binary with MTOM enabled
           WSDLs.
     Caching
          Low Memory footprint for large binary attachments
WSF/PHP Features (Cont...)
   Comprehensive Support for REST
        Full REST support (GET, PUT, DELETE, POST) with custom URI
         Mapping
               Enables mapping a REST API into PHP easily and naturally

     function echoFunction($inMessage) {

         $outMessage = new WSMessage($inMessage->str);
         return $outMessage;
     }

     $operations = array(quot;echoStringquot; => quot;echoFunctionquot;);
     $restmap = array (quot;echoStringquot;=>array(quot;HTTPMethodquot;=>quot;GETquot;, quot;RESTLocationquot;=> quot;echoStringquot;));

     $service = new WSService(array(quot;operationsquot; => $operations, quot;RESTMappingquot;=>$restmap));
     $service->reply();
WSF/PHP Features (Cont...)
   PHP Data Services
       Multiple database engine support (with PHP PDO extension)
       Nested Query support
       Array based API
       dbs2php converter tool to convert WSAS Java data service XML
        configurations to PHP code
       WSDL Generation support
        $config = array(quot;dbquot; => quot;mysqlquot;, quot;usernamequot; => quot;rootquot;, quot;passwordquot; => quot;abcquot;, quot;dbnamequot; => quot;dsquot;,
                quot;dbhostquot; => quot;localhostquot;);

        $inputFormat = array(quot;employeeByNumberquot; => quot;INTquot;);

        $outputFormat = array(quot;resultElementquot; => quot;employeesquot;,
                            quot;rowElementquot; => quot;employeequot;,
                            quot;elementsquot; => array(quot;last-namequot; => quot;lastNamequot;,
                                quot;first-namequot; => quot;firstNamequot;,
                                quot;emailquot; => quot;emailquot;));

        $sql = quot;SELECT lastName,firstName,email FROM Employees WHERE employeeNumber=?quot;;

        $operations = array(quot;employeesByNumberquot; =>
            array(quot;inputFormatquot; => $inputFormat, quot;outputFormatquot; => $outputFormat, quot;sqlquot; => $sql));

        $my_data_service = new DataService(array(quot;configquot; => $config, quot;operationsquot; => $operations));
        $my_data_service->reply();
WSF/PHP Features (Cont...)
   Interoperability
     With .Net and Java
     Messaging
     Binary Data (MTOM)
     WS-Addressing
     WS-Security
     WS-Reliable Messaging
WSF/PHP 2.0 improvements
   Improved Stability
   Interoperability
   Better WSDL support
   WS-SecureConversation support
   PKCS support
   Replay attack suppression
   Support for ratified WS-* specifications
   PHP Data Services support
   Improved REST API
   MTOM Caching
Customer Examples
   Consuming SaaS from PHP Web applications
     E.g.Betting, Gaming sites
     Governmental and Standards-based work
   Integrating CMS systems (Drupal, Joomla) with
    SOA platforms
     Consuming   existing third party services
     Exposing CMS functionality as services
     Portal integration with SOA back-ends
   Service enabling PHP legacy applications
     Securingservice oriented applications that require
      end-to-end message level security
The Traditional PHP Application
SOA Solution With WSF/PHP
Summary
   A major new release of a popular library
     Adds improved WS-* and REST support
     Improved stability
     Makes it simple to connect PHP to a wider SOA
     New capability to expose Data Services makes
      creating services more effective than ever
Getting Started
   Oxygen Tank Articles
        PHP Web Services: Getting Started http://wso2.org/library/3032
        PHP Web Services: After Getting Started http://wso2.org/library/3056
        PHP Web Services: Messaging – SOAP and REST http://wso2.org/library/3261
        Writing Simple PHP Test Scripts For PHP Web Services http://wso2.org/library/3579
        WSO2 WSF/PHP Interoperability with Microsoft WCF http://wso2.org/library/3125
        WSO2 WSF/PHP – PHP Web Services Extension http://wso2.org/library/2570
        PHP Web Services with WSDL http://wso2.org/library/3393
        Running WSF/PHP on The Uniform Server http://wso2.org/library/3262
        Installing WSF/PHP with PHP5 on IIS http://wso2.org/library/3465
        How to Setup WSO2 WSF/PHP Build Environment on Windows XP
         http://wso2.org/library/tutorials/setup-wso2-wsf-php-build-environment-windows-xp
   WSF/PHP Demo Site
        http://labs.wso2.org/wsf/php
   PHP Web Services Blog
        http://phpwebservices.blogspot.com/

More Related Content

What's hot

OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017
OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017 OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017
OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017 Philippe Gamache
 
Browser Serving Your Web Application Security - NorthEast PHP 2017
Browser Serving Your Web Application Security - NorthEast PHP 2017Browser Serving Your Web Application Security - NorthEast PHP 2017
Browser Serving Your Web Application Security - NorthEast PHP 2017Philippe Gamache
 
ASPNET Roadmap
ASPNET RoadmapASPNET Roadmap
ASPNET Roadmapukdpe
 
Web performance optimization
Web performance optimizationWeb performance optimization
Web performance optimizationKaliop-slide
 
Browser Serving Your Web Application Security - Madison PHP 2017
Browser Serving Your Web Application Security - Madison PHP 2017Browser Serving Your Web Application Security - Madison PHP 2017
Browser Serving Your Web Application Security - Madison PHP 2017Philippe Gamache
 
JBoss Negotiation in AS7
JBoss Negotiation in AS7JBoss Negotiation in AS7
JBoss Negotiation in AS7Josef Cacek
 
MySQL 8.0.19 - New Features Summary
MySQL 8.0.19 - New Features SummaryMySQL 8.0.19 - New Features Summary
MySQL 8.0.19 - New Features SummaryOlivier DASINI
 
JBoss AS 7 따라잡기
JBoss AS 7 따라잡기JBoss AS 7 따라잡기
JBoss AS 7 따라잡기jbugkorea
 
How to CASifying PeopleSoft and Integrating CAS and ADFS
How to CASifying PeopleSoft and Integrating CAS and ADFSHow to CASifying PeopleSoft and Integrating CAS and ADFS
How to CASifying PeopleSoft and Integrating CAS and ADFSJohn Gasper
 
Ruby on Rails Security
Ruby on Rails SecurityRuby on Rails Security
Ruby on Rails Securityamiable_indian
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves DrupalAcquia
 
Earnings With Foss - Joebert
Earnings With Foss - JoebertEarnings With Foss - Joebert
Earnings With Foss - Joebertsoss
 
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)ssuser523509
 
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...Marc Müller
 
MySQL 8.0.16 New Features Summary
MySQL 8.0.16 New Features SummaryMySQL 8.0.16 New Features Summary
MySQL 8.0.16 New Features SummaryOlivier DASINI
 

What's hot (16)

OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017
OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017 OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017
OWASP Top 10 Proactive Controls 2016 - NorthEast PHP 2017
 
Browser Serving Your Web Application Security - NorthEast PHP 2017
Browser Serving Your Web Application Security - NorthEast PHP 2017Browser Serving Your Web Application Security - NorthEast PHP 2017
Browser Serving Your Web Application Security - NorthEast PHP 2017
 
ASPNET Roadmap
ASPNET RoadmapASPNET Roadmap
ASPNET Roadmap
 
Web performance optimization
Web performance optimizationWeb performance optimization
Web performance optimization
 
Browser Serving Your Web Application Security - Madison PHP 2017
Browser Serving Your Web Application Security - Madison PHP 2017Browser Serving Your Web Application Security - Madison PHP 2017
Browser Serving Your Web Application Security - Madison PHP 2017
 
JBoss Negotiation in AS7
JBoss Negotiation in AS7JBoss Negotiation in AS7
JBoss Negotiation in AS7
 
MySQL 8.0.19 - New Features Summary
MySQL 8.0.19 - New Features SummaryMySQL 8.0.19 - New Features Summary
MySQL 8.0.19 - New Features Summary
 
JBoss AS 7 따라잡기
JBoss AS 7 따라잡기JBoss AS 7 따라잡기
JBoss AS 7 따라잡기
 
How to CASifying PeopleSoft and Integrating CAS and ADFS
How to CASifying PeopleSoft and Integrating CAS and ADFSHow to CASifying PeopleSoft and Integrating CAS and ADFS
How to CASifying PeopleSoft and Integrating CAS and ADFS
 
Ruby on Rails Security
Ruby on Rails SecurityRuby on Rails Security
Ruby on Rails Security
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves Drupal
 
Earnings With Foss - Joebert
Earnings With Foss - JoebertEarnings With Foss - Joebert
Earnings With Foss - Joebert
 
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)
HTML 特殊文字のEscapeだけでは防げない
脆弱性について(基本)
 
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...
Developer Week 2019 - Testautomatisierung mit Appium und Selenium für VS-Entw...
 
Powershell: Tu nuevo mejor amigo
Powershell: Tu nuevo mejor amigoPowershell: Tu nuevo mejor amigo
Powershell: Tu nuevo mejor amigo
 
MySQL 8.0.16 New Features Summary
MySQL 8.0.16 New Features SummaryMySQL 8.0.16 New Features Summary
MySQL 8.0.16 New Features Summary
 

Similar to WSF PHP 2 Webinar Sep 2008

Php Asp Net Interoperability Rc Jao
Php Asp Net Interoperability Rc JaoPhp Asp Net Interoperability Rc Jao
Php Asp Net Interoperability Rc Jaojedt
 
Stateful SOAP Webservices
Stateful SOAP WebservicesStateful SOAP Webservices
Stateful SOAP WebservicesMayflower GmbH
 
WSO2 SOA with C and C++
WSO2 SOA with C and C++WSO2 SOA with C and C++
WSO2 SOA with C and C++WSO2
 
An Introduction to Websphere sMash for PHP Programmers
An Introduction to Websphere sMash for PHP ProgrammersAn Introduction to Websphere sMash for PHP Programmers
An Introduction to Websphere sMash for PHP Programmersjphl
 
HTML5 vs Silverlight
HTML5 vs SilverlightHTML5 vs Silverlight
HTML5 vs SilverlightMatt Casto
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on AzureMaarten Balliauw
 
Php & my sql - how do pdo, mysq-li, and x devapi do what they do
Php & my sql  - how do pdo, mysq-li, and x devapi do what they doPhp & my sql  - how do pdo, mysq-li, and x devapi do what they do
Php & my sql - how do pdo, mysq-li, and x devapi do what they doDave Stokes
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforcedeimos
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomQConLondon2008
 
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected Business
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected BusinessWSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected Business
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected BusinessWSO2
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devsguest0a62e8
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonAdnan Masood
 
Interoperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITInteroperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITCarol McDonald
 

Similar to WSF PHP 2 Webinar Sep 2008 (20)

Php Asp Net Interoperability Rc Jao
Php Asp Net Interoperability Rc JaoPhp Asp Net Interoperability Rc Jao
Php Asp Net Interoperability Rc Jao
 
Stateful SOAP Webservices
Stateful SOAP WebservicesStateful SOAP Webservices
Stateful SOAP Webservices
 
WSO2 SOA with C and C++
WSO2 SOA with C and C++WSO2 SOA with C and C++
WSO2 SOA with C and C++
 
An Introduction to Websphere sMash for PHP Programmers
An Introduction to Websphere sMash for PHP ProgrammersAn Introduction to Websphere sMash for PHP Programmers
An Introduction to Websphere sMash for PHP Programmers
 
HTML5 vs Silverlight
HTML5 vs SilverlightHTML5 vs Silverlight
HTML5 vs Silverlight
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on Azure
 
Running PHP In The Cloud
Running PHP In The CloudRunning PHP In The Cloud
Running PHP In The Cloud
 
Php & my sql - how do pdo, mysq-li, and x devapi do what they do
Php & my sql  - how do pdo, mysq-li, and x devapi do what they doPhp & my sql  - how do pdo, mysq-li, and x devapi do what they do
Php & my sql - how do pdo, mysq-li, and x devapi do what they do
 
WSS And Share Point For Developers
WSS And Share Point For DevelopersWSS And Share Point For Developers
WSS And Share Point For Developers
 
PHP on Windows
PHP on WindowsPHP on Windows
PHP on Windows
 
PHP on Windows
PHP on WindowsPHP on Windows
PHP on Windows
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforce
 
Node.js vs Play Framework
Node.js vs Play FrameworkNode.js vs Play Framework
Node.js vs Play Framework
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales Forcecom
 
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected Business
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected BusinessWSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected Business
WSO2Con Asia 2014 - WSO2 AppDev Platform for the Connected Business
 
WSO2 AppDev platform
WSO2 AppDev platformWSO2 AppDev platform
WSO2 AppDev platform
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 
Web API or WCF - An Architectural Comparison
Web API or WCF - An Architectural ComparisonWeb API or WCF - An Architectural Comparison
Web API or WCF - An Architectural Comparison
 
My Saminar On Php
My Saminar On PhpMy Saminar On Php
My Saminar On Php
 
Interoperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITInteroperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSIT
 

More from WSO2

Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 
Mastering API Lifecycle: Design, Deployment, and Effective Consumption
Mastering API Lifecycle: Design, Deployment, and Effective ConsumptionMastering API Lifecycle: Design, Deployment, and Effective Consumption
Mastering API Lifecycle: Design, Deployment, and Effective ConsumptionWSO2
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsWSO2
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in ChoreoWSO2
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023WSO2
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzureWSO2
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfWSO2
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in MinutesWSO2
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityWSO2
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...WSO2
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfWSO2
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoWSO2
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsWSO2
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital BusinessesWSO2
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)WSO2
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformationWSO2
 

More from WSO2 (20)

Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Mastering API Lifecycle: Design, Deployment, and Effective Consumption
Mastering API Lifecycle: Design, Deployment, and Effective ConsumptionMastering API Lifecycle: Design, Deployment, and Effective Consumption
Mastering API Lifecycle: Design, Deployment, and Effective Consumption
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in Choreo
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on Azure
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdf
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos Identity
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformation
 

Recently uploaded

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

WSF PHP 2 Webinar Sep 2008

  • 1. Enterprise Web Services With WSO2 WSF/PHP 2.0 Selvaratnam Uthaiyashankar shankar@wso2.com September 2008
  • 2. WSO2 Background  Founded in August 2005 by Leaders in XML and Web services technologies & standards and open source  Building complete SOA platform, all 100% open source  Founders/ leading contributors to all key Apache Web Services/SOA Projects  Provide commercial support, training and services around the software & solutions  Global corporation with R&D center in Sri Lanka and offices in US & UK, totalling 60 + employees
  • 3. What is the problem with the existing PHP Systems? Financial System Content Management System Social Networking System CRM system
  • 4. What is the problem with the existing PHP SOAP support? SAP SOAP 1.1 .NET No security No reliability No WS-I BP PHP Website No MTOM Binary Secure, Reliable, Binary No WS-Addressing J2EE Web Services CICS Java
  • 5. What is WSF/PHP?  A library that allows users to Create and Consume SOAP and REST Web Services in PHP  With full Secure Reliable Interop against .NET, Java and JEE  Simple PHP-friendly programming model $client = new WSClient(array(quot;useMTOMquot; => TRUE, quot;useSOAPquot; => quot;1.2quot;, quot;useWSAquot; => TRUE, quot;policyquot; => $wspolicy, quot;securityTokenquot; => $sec_token));
  • 6. Comparison with other SOAP libraries Package Written in WSDL Attachment Security Reliability PHP5 SOAP Ext C Partial No No No NuSOAP PHP Yes No No No SCA with PHP(IBM) PHP Yes No No No WSO2 WSF/PHP C Yes Yes Yes Yes
  • 7. WSF/PHP Features  Stability  Multiple Deployment Models  Linux  Windows  Solaris  Apache  IIS  Tested with Zend Core for stability and functionality
  • 8. WSF/PHP Features (Cont...)  Comprehensive Support for WS-* Standards  WS-Addressing •Version Submission, 1.0  WS-Security •Version 1.0, 1.1 •Base security standards mean that messages can be protected using Encryption, Authentication and Signature  WS-Trust, WS-SecureConversation •Version 1.0, 1.3 •Advanced security standards allow single-sign on, more efficient encryption and more secure deployment  WS-Policy and WS-SecurityPolicy •Enables using industry standard XML to configure security  WS-ReliableMessaging 1.0, 1.1 and WS-RMPolicy •Enables reliability between PHP and other platforms including message resending, duplicate detection and persistence
  • 9. WSF/PHP Features (Cont...)  Support for Contract First And Code First approaches  WSDL 1.1 and WSDL 2.0  SOAP 1.1 and SOAP 1.2  WSDL Generation support using annotated code.  Wide coverage of complex schema constructs.  WSDL2PHP Script to generate client and services for given WSDL.
  • 10. WSF/PHP Features (Cont...)  Enterprise Level Security  Authentication  Confidentiality  Integrity  Non-Repudiation  Replay Detection
  • 11. WSF/PHP Features (Cont...)  Binary Data Capability  Support for Base64, SWA and MTOM  Secure MTOM support  MTOM with reliable support  WSDL Mode API  Quick and easy API to handle binary with MTOM enabled WSDLs.  Caching  Low Memory footprint for large binary attachments
  • 12. WSF/PHP Features (Cont...)  Comprehensive Support for REST  Full REST support (GET, PUT, DELETE, POST) with custom URI Mapping  Enables mapping a REST API into PHP easily and naturally function echoFunction($inMessage) { $outMessage = new WSMessage($inMessage->str); return $outMessage; } $operations = array(quot;echoStringquot; => quot;echoFunctionquot;); $restmap = array (quot;echoStringquot;=>array(quot;HTTPMethodquot;=>quot;GETquot;, quot;RESTLocationquot;=> quot;echoStringquot;)); $service = new WSService(array(quot;operationsquot; => $operations, quot;RESTMappingquot;=>$restmap)); $service->reply();
  • 13. WSF/PHP Features (Cont...)  PHP Data Services  Multiple database engine support (with PHP PDO extension)  Nested Query support  Array based API  dbs2php converter tool to convert WSAS Java data service XML configurations to PHP code  WSDL Generation support $config = array(quot;dbquot; => quot;mysqlquot;, quot;usernamequot; => quot;rootquot;, quot;passwordquot; => quot;abcquot;, quot;dbnamequot; => quot;dsquot;, quot;dbhostquot; => quot;localhostquot;); $inputFormat = array(quot;employeeByNumberquot; => quot;INTquot;); $outputFormat = array(quot;resultElementquot; => quot;employeesquot;, quot;rowElementquot; => quot;employeequot;, quot;elementsquot; => array(quot;last-namequot; => quot;lastNamequot;, quot;first-namequot; => quot;firstNamequot;, quot;emailquot; => quot;emailquot;)); $sql = quot;SELECT lastName,firstName,email FROM Employees WHERE employeeNumber=?quot;; $operations = array(quot;employeesByNumberquot; => array(quot;inputFormatquot; => $inputFormat, quot;outputFormatquot; => $outputFormat, quot;sqlquot; => $sql)); $my_data_service = new DataService(array(quot;configquot; => $config, quot;operationsquot; => $operations)); $my_data_service->reply();
  • 14. WSF/PHP Features (Cont...)  Interoperability  With .Net and Java  Messaging  Binary Data (MTOM)  WS-Addressing  WS-Security  WS-Reliable Messaging
  • 15. WSF/PHP 2.0 improvements  Improved Stability  Interoperability  Better WSDL support  WS-SecureConversation support  PKCS support  Replay attack suppression  Support for ratified WS-* specifications  PHP Data Services support  Improved REST API  MTOM Caching
  • 16. Customer Examples  Consuming SaaS from PHP Web applications  E.g.Betting, Gaming sites  Governmental and Standards-based work  Integrating CMS systems (Drupal, Joomla) with SOA platforms  Consuming existing third party services  Exposing CMS functionality as services  Portal integration with SOA back-ends  Service enabling PHP legacy applications  Securingservice oriented applications that require end-to-end message level security
  • 17. The Traditional PHP Application
  • 19. Summary  A major new release of a popular library  Adds improved WS-* and REST support  Improved stability  Makes it simple to connect PHP to a wider SOA  New capability to expose Data Services makes creating services more effective than ever
  • 20. Getting Started  Oxygen Tank Articles  PHP Web Services: Getting Started http://wso2.org/library/3032  PHP Web Services: After Getting Started http://wso2.org/library/3056  PHP Web Services: Messaging – SOAP and REST http://wso2.org/library/3261  Writing Simple PHP Test Scripts For PHP Web Services http://wso2.org/library/3579  WSO2 WSF/PHP Interoperability with Microsoft WCF http://wso2.org/library/3125  WSO2 WSF/PHP – PHP Web Services Extension http://wso2.org/library/2570  PHP Web Services with WSDL http://wso2.org/library/3393  Running WSF/PHP on The Uniform Server http://wso2.org/library/3262  Installing WSF/PHP with PHP5 on IIS http://wso2.org/library/3465  How to Setup WSO2 WSF/PHP Build Environment on Windows XP http://wso2.org/library/tutorials/setup-wso2-wsf-php-build-environment-windows-xp  WSF/PHP Demo Site  http://labs.wso2.org/wsf/php  PHP Web Services Blog  http://phpwebservices.blogspot.com/