PHP Classes

File: WsdlToPhp.php

Recommend this page to a friend!
  Classes of WsdlToPhp   WSDL To PHP   WsdlToPhp.php  
File: WsdlToPhp.php
Role: Class source
Content type: text/plain
Description: Class source
Class: WSDL To PHP
Generate classes to send SOAP requests from a WSDL
Author: By
Last change: [RELEASE]This release makes the WsdlToPhp class deprecated which is replaced by the WsdlToPhpGenerator class as for the samples.php file replaced by the samples-generator.php file.
WsdlToPhpGenerator class uses a set of classes which inherits from the new class named WsdlToPhpModel. The classes are :
- WsdlToPhpFunction : an operation
- WsdlToPhpService : a set of operations represented by WsdlToPhpFunction objects
- WsdlToPhpStructAttribute : an attribute of a struct
- WsdlToPhpStructValue : a value of an enumeration struct
- WsdlToPhpStruct : a struct which can be a request object, a response object, an enumeration definition or any useful object defined in the WSDL
- WsdlToPhpModel : defines the generic methods and features of the previous classes
WsdlToPhpGenerator is based on the original WsdlToPhp class but full reviewed in order to use the new classes. This new set of classes make enhancements and bug fixes easier to implement.
Is also fixes some bugs and misunderstandings about the content of the WSDL and its structs.
It now adds good php doc blocks in order to generate php documentation with phpdocumentor. It introduces package, subpackage and has improved general documentation.
Moreover, generated classes are strictly separated by their naming :
- {PackageName}Service* : class which gathers the operations/functions (based on their name)
- {PackageName}Struct* : class which represents a struct type which can be used either for requesting or catching response
- {PackageName}Enum* : class which represents an enumeration of values. Each value is defined with a constant
- {PackageName}WsdlClass : mother class of all generated class if enabled. This class defines all the generic methods and the needed configurations/methods to call the SOAP WS
- {PackageName}ClassMap : class that constains one final public static method which returns the array to map structs/enums to generated classes
You can see the phpdoc about this whole package here : http://phpdoc.WsdlToPhp.com/.
For even more informations, also read the main php doc block located in the WsdlToPhpGenerator class file to see all features and tested cases.
Date: 10 years ago
Size: 87,849 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: