[wsf-c-dev] [PHP] wsdl2php TODOs

Dimuthu Gamage dimuthu at wso2.com
Thu Feb 21 09:38:15 PST 2008


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:)

Thanks
Dimuthu

> 
> Thanks,
> Samisa...
> 
> 
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
> 




More information about the Wsf-c-dev mailing list