[wsf-c-dev] [jira] Commented: (WSFPHP-226) With Recursive types wsdl2php script give number of warnings and Doesn't generate php code

Nandika Jayawardana (JIRA) jira at wso2.org
Wed Jul 23 00:53:52 PDT 2008


    [ https://wso2.org/jira/browse/WSFPHP-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18298#action_18298 ] 

Nandika Jayawardana commented on WSFPHP-226:
--------------------------------------------

I code generated for both the client and the service. There is a syntax error in a generated comment in this generated class.

class Type1 {

    /**
     * @var array[0, unbounded] of (object)Type1
     */
    public $followings;

    /**
     * @var string
     */
    public $kind;

    /**
     * @var int
     */
    public $index;

    /**
     * @var Kind
    /**
     *     NOTE: att_kind should follow the following restrictions
     *     You can have one of the following value
     *     CHEQUE
     *     CREDIT_CARD
     *     TRANSFER
     *     WITHDRAWAL
     *     AUTOMATIC
     */
     */
    public $att_kind;

}

Once this commenting error is removed, both client and service work fine.

> With Recursive types wsdl2php script give number of warnings and Doesn't generate php code
> ------------------------------------------------------------------------------------------
>
>                 Key: WSFPHP-226
>                 URL: https://wso2.org/jira/browse/WSFPHP-226
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>    Affects Versions: Current (nightly)
>         Environment: Ubuntu 7.10
>            Reporter: Lahiru Gunathilake
>             Fix For: 2.0.0
>
>         Attachments: RecurseTypes.wsdl
>
>
> I'm trying to generate php code for the attached wsdl but it is not working with this wsdl.It gives number of warnings no code is generating.I've validated the wsdl and no errors with the wsdl.And i try to generate the C code using WSDL2C tool in Axis2C it works fine.
> Regards
> lahiru

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list