[wsf-c-dev] [jira] Updated: (WSFPHP-179) WSDL Generation fails when the function argument and return type has a class type

Dimuthu Gamage (JIRA) jira at wso2.org
Wed Feb 6 10:34:59 PST 2008


     [ http://wso2.org/jira/browse/WSFPHP-179?page=all ]

Dimuthu Gamage updated WSFPHP-179:
----------------------------------

    Attachment: fix.tar.gz

Simple test for both rpc and doclit service and client + c clients to invoke the php service is attached.

Here is a basics of generating complex types for params and returns, only doc-coment format is highlighted


/**
 * @param string param1
 *  maps to xs:QName
 * @param object Foo param2, check there the 'object' followed by the class name of the object
 *  maps to xs:object
 * @return int $ret
 */
function bar($param1, $param2)
{
 //..
}

/**
 * @namespace http://foo/bar
 */
class Foo
{
    /**
     * @property array of string $property1, note: array of followed by the typename
     * maps to xs:string
     */
     public $property1;
}



> WSDL Generation fails when the function argument and return type has a class type
> ---------------------------------------------------------------------------------
>
>                 Key: WSFPHP-179
>                 URL: http://wso2.org/jira/browse/WSFPHP-179
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>          Components: WSDL Generation 
>    Affects Versions: 1.2.0
>            Reporter: Dimuthu Gamage
>         Assigned To: Dimuthu Gamage
>            Priority: Critical
>             Fix For: 1.2.1
>
>         Attachments: fix.tar.gz
>
>
> This is essential in generating the WSDL for Calendar service.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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