Commit [r261]  Maximize  Restore  History

[UPDATE] enhancements and refactoring

Closes https://github.com/mikaelcom/WsdlToPhp/issues/25.

Simplification of the instantiation of Service objects in the
generated sample file by removing the SoapClient options parameter. By
default, the cache_wsdl is disabled, the wsdl_url is set with the WSDL
url used to generate the package and trace is set with true. The
VALUE_WSDL_URL constant has been added to the generated WsdlClass
defined with the WSDL url used to generate the package.

Remove trailing ?> in generator files/classes.

Add WsdlToPhpGenerator::getWsdl($_index) method to get any WSDL at any
position.

Enhance generated sample file with explanation about the optional
parameter allowing to override the SoapClient Options. Remove the $wsdl
parareter previously used to instantiate each Service object.

Avoid Struct object to reset SoapClient when it is instantiated when
calling the parent constructor.

mikaelcom 2014-02-08

changed /trunk/WsdlClassFileTpl.php
changed /trunk/WsdlToPhpFunction.php
changed /trunk/WsdlToPhpGenerator.php
changed /trunk/WsdlToPhpModel.php
changed /trunk/WsdlToPhpService.php
changed /trunk/WsdlToPhpStruct.php
changed /trunk/WsdlToPhpStructAttribute.php
changed /trunk/WsdlToPhpStructValue.php
changed /trunk/sample-tpl.php
changed /trunk/samples-generator.php
/trunk/WsdlClassFileTpl.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpFunction.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpGenerator.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpModel.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpService.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStruct.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStructAttribute.php Diff Switch to side-by-side view
Loading...
/trunk/WsdlToPhpStructValue.php Diff Switch to side-by-side view
Loading...
/trunk/sample-tpl.php Diff Switch to side-by-side view
Loading...
/trunk/samples-generator.php Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks