Hello,
We used a really old version of wsdl2phpgenerator. And the generated output used to include a __constructor with properties passed in and being set inside the constructor.
The current version now generates an empty constructor.'
For example:
/**
*
* @access public
*/
public function __construct()
{
}
The command we use is:
call wsdl2php --cacheNone --singleElementArrays -i http://myserver/SampleService.svc?singleWsdl -o "D:\outputdir"
The output is different between versions (as described above), how can we get the constructor implementations to be generated with the new version of wsdl2php ?
In newer versions of wsdl2phpgenerator the constructor only has parameters corresponding to the required (not nillable) properties for a type. You have to use accessors to set the values instead.
Hello, We used a really old version of wsdl2phpgenerator. And the generated output used to include a __constructor with properties passed in and being set inside the constructor.
For example:
The current version now generates an empty constructor.'
For example:
The command we use is:
call wsdl2php --cacheNone --singleElementArrays -i http://myserver/SampleService.svc?singleWsdl -o "D:\outputdir"
The output is different between versions (as described above), how can we get the constructor implementations to be generated with the new version of wsdl2php ?