[wsf-c-dev] [PHP] wsdl2php TODOs
Samisa Abeysinghe
samisa at wso2.com
Thu Feb 21 17:43:20 PST 2008
Dimuthu Gamage wrote:
> Samisa Abeysinghe wrote:
>> I have improved the code generation further today:
>>
>>> Here are the TODOs that are pending.
>>>
>>> 1. Re-factor code to support multiple (command line vs. Web) interfaces
>>> 2. Add server side demo code generation. I have only the client side
>>> implemented.
>>
>> Done. Use the WSDL with -s option.
>>
>>> 3. Look into the support of arrays - May be this can be done by
>>> looking into the maxOccures in the sig model. I have not considered
>>> this in the current implementation
>>
>> I tested with arrays, and they work. It seems that nothing special
>> needs to be done
>
> Hi samisa,
>
> It is better if there is a comment that describe whether the class
> attribute is an array or not.
>
> For an example,
>
> currently the generated code is like,
> class SomeRequest
> {
> public $var; // ClassA
> }
>
> I think should be corrected to,
>
> class SomeRequest
> {
> public $var; //Array of ClassA
> }
>
> I think dushshantha had some problem interpreting the current comment:)
Sure, that is a good suggestion. I will look into that, should be trivial.
Samisa...
More information about the Wsf-c-dev
mailing list