Login   Register  
PHP Classes
elePHPant
Icontem

Class: Soap Discovery

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Braulio José Solano Rojas  >  Soap Discovery  >  Download .tar.gz .zip  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Soap Discovery
Base name: soapdiscovery
Description: Generate WSDL for SOAP Web service with reflection
Related classes: , , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 4015 users
All time rank: 602
Week users: 8 users
Week rank: 451
Picture of Braulio José Solano Rojas
Author: Braulio José Solano Rojas <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Costa Rica Costa Rica - PHP jobs in Costa Rica
Age: 34
All time rank: 6001 in Costa Rica Costa Rica
Week rank: 4702 in Costa Rica Costa Rica
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
PHP 5 provides an extension to provide built-in support for implementing Web services with SOAP, but it does not generate Web Services descriptions in WDSL to let SOAP clients discover how to use the available Web services.

This class generates WSDL using the reflection API of PHP 5 to reverse engineer the class definitions. It only generates RPC WSDL, not Document WSDL.

It has been tested sharing a HelloWorld PHP class with .NET client and worked successfully.

 

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
May 2005
Number 4
PHP 5 has an extension that greatly simplifies the development in PHP of Web services clients and servers that use the SOAP protocol.

However, to expose the details of use a SOAP Web services it is necessary to also provide a specification XML document of the Web service functions in the WDSL format, so the Web service clients can determine how to call it.

Creating an WDSL service manually is not a trivial task as it requires good knowledge of the protocol specification.

This class provides a solution for automatically generating a WDSL document for a Web service by using the class introspection support built-in PHP 5 using the reflection API.

This way the developers of PHP Web services do not need to learn in depth about SOAP protocol.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (91.7%)
Not sure (50.0%)
Sufficient (66.7%)
-
-
Sufficient (62.5%)
618
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file HelloWorld.class.php Example Hello World Class
Plain text file HelloWorldService.php Example Runs a Hello World Service with
Plain text file readme.txt Doc. Read me first
Plain text file SoapDiscovery.class.php Class SoapDiscovery Class

Download all files: soapdiscovery.tar.gz soapdiscovery.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.