Commit | Date | |
---|---|---|
2013-09-17 21:29:14 | Tree | |
[r252]
by
mikaelcom
[UPDATE] code review and enhancements Override WsdlToPhpModel::getOwner() method in inherited classes when it makes sense so the caller knows the exact return type Enhanced attribute type definition by avoiding that the attribute type is the type of the class it belongs to |
2013-09-17 20:24:51 | Tree |
[r251]
by
mikaelcom
[UPDATE] improvements Use isset() function to determine if __default_soap_headers and _stream_context are already defined instead of using @ when getting the the SoapClient properties |
2013-09-12 19:48:04 | Tree |
[r250]
by
mikaelcom
[UPDATE] improvements |
2013-09-06 17:20:45 | Tree |
2013-09-06 17:19:51 | Tree | |
2013-08-13 21:23:32 | Tree | |
2013-08-01 20:02:33 | Tree | |
[r246]
by
mikaelcom
[UPDATE] minor generated setter improvement When a struct contains properties with invalid names (such as "my-property"), the setter is named setMy_property but the property which is set is $this->{'my-property'} so when the object is sent to the SoapClient, this is the right value that is used. When we use var_export, then the property is exported as "my-property" but the __set_state() method, called in the WsdlClass when loading the exported object, only considers valid attribute names to call the setter. To fix this issue, we then also set the valid attribute name $this->my_property in the setMy_property() method, the setter. So the setter method, setMy_property() is called accordingly to the attribute name when the __set_state() method is called and everything goes well! |
2013-07-31 22:17:57 | Tree |
2013-07-12 17:50:30 | Tree | |
[r244]
by
mikaelcom
[UPDATES] identical operation parameters type naming fix As the methods, representing the operations, had their parameters named as their type when the parameter type was an existing known class, it generated errors as we had multiple parameters with the same name (ex: login(StructString $_structString,StructString $_structString), which is conflictual). This was used to generate the sample file easily. This issue was fixed by naming the parameters with their real name (when there is multiple parameters) and by reviewing the sample file generation. |
2013-07-10 22:09:42 | Tree |