Menu

SVN Commit Log


Commit Date  
[r211] by mikaelcom

[UPDATE] new features
Adding new feature : catch header informations that have to be sent when calling an operation. So if a SOAPHeader is required, it is indicated in the operation/function php doc (SOAPHeader : required). Moreover, the names and types of the SOAPHeader(s) are extracted from the WSDL and added to the operation/function php doc (SOAPHeaderNames and SOAPHeaderTypes) separated by a comma.
Wsdl location loading has been optimized
Don't add virtual struct (aka restriction and not enumeration) to the ClassMap array
Adding test case samples

2013-01-16 11:15:11 Tree
[r210] by mikaelcom

[UPDATE] update for documentation informations in order to catch all restriction informations but only if it's not an enumeration node plus ensure that it catches all nodes even if the first node is an enumeration node.

2013-01-15 14:02:16 Tree
[r209] by mikaelcom

[UPDATE] update to ensure that the generated class inherits from the *WsdlClass main class (if the option is enabled) when the struct inherits from another structs which is not a real struct

2013-01-15 13:36:15 Tree
[r208] by mikaelcom

[UPDATE] enhancements and bug fixes
Add owner feature in order to know the owner of a current struct attribute/value or the owner of a current function. The owner must be a WsdlToPhpModel object type.
Ensure case sensitive unique naming of methods (setters, getters and operations) by using generic WsdltoPhpModel::uniqueName() method.
Sort case sensitively return types in the getResult() method php doc.
Refactoring WsdlTophpStructValue::getCleanName() method fixes #6 Github issue concerning PHP Warning : Strict Standards: Declaration of WsdlToPhpStructValue::getCleanName() should be compatible with WsdlToPhpModel::getCleanName() in WsdlToPhpStructValue.php on line 107

2013-01-15 08:37:48 Tree
[r207] by mikaelcom

[UPDATE] blame update "don't generate structs that don't contain any attribute and don't inherit from generated struct" because some parent classes may not contain any attribut

2013-01-14 14:52:00 Tree
[r206] by mikaelcom

[UPDATE] minor comment update to indicate test case for unclean operation name

2013-01-14 12:04:17 Tree
[r205] by mikaelcom

[UPDATE] bug fix when generating calls to unclean operation name

2013-01-14 11:52:06 Tree
[r204] by mikaelcom

[UPDATE] merge from pull request on github and don't generate structs that don't contain any attribute and don't inherit from generated struct

2013-01-14 09:17:20 Tree
[r203] by mikaelcom

[UPDATE] minor update in order to avoid limitation on parameters type passed to operation when the value must be an Enumeration value (test case : http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl, NDFDgen($_latitude,$_longitude,$_product,$_startTime,$_endTime,$_unit,MyndfdStructWeatherParametersType $_myndfdStructWeatherParametersType) instead of NDFDgen($_latitude,$_longitude,MyndfdEnumProductType $_myndfdEnumProductType,$_startTime,$_endTime,MyndfdEnumUnitType $_myndfdEnumUnitType,MyndfdStructWeatherParametersType $_myndfdStructWeatherParametersType))

2013-01-02 13:03:06 Tree
[r202] by mikaelcom

[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.

2013-01-02 11:24:30 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.