Login   Register  
PHP Classes

Soap Discovery: Generate WSDL for SOAP Web service with reflection

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Braulio Josť Solano Rojas
Name: Braulio Josť Solano ... <contact>
Classes: 1 package by
Country: Costa Rica Costa Rica
Age: 37
All time rank: 5751 in Costa Rica Costa Rica
Week rank: 1080 Down1 in Costa Rica Costa Rica Equal
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Braulio Josť Solano Rojas  >  Soap Discovery  >  Download Download .zip .tar.gz  >  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
Version: 1.0.0
PHP version: -
License: BSD License
All time users: 4646 users
All time rank: 545
Week users: 1 user
Week rank: 1397 Down
  Groups   Rate classes User ratings   Applications   Files Files  

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

  Innovation Award  
PHP Programming Innovation award nominee
May 2005
Number 4

Prize: One downloadable copy of Komodo Pro
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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (85%) Good (92%) Not sure (57%) Sufficient (71%) - - Sufficient (64%) 506
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
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
Accessible without login Plain text file HelloWorld.class.php Example Hello World Class
Accessible without login Plain text file HelloWorldService.php Example Runs a Hello World Service with
Accessible without login Plain text file readme.txt Doc. Read me first
Plain text file SoapDiscovery.class.php Class SoapDiscovery Class

Install with Composer Install with Composer - Download 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.