[wsf-c-dev] [jira] Resolved: (WSFPHP-280) Providing array based api for WSDL Generation

Dimuthu Gamage (JIRA) jira at wso2.org
Fri Jun 6 06:31:34 PDT 2008


     [ https://wso2.org/jira/browse/WSFPHP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dimuthu Gamage resolved WSFPHP-280.
-----------------------------------

    Resolution: Fixed

Done. And put a test case on https://wso2.org/repos/wso2/trunk/wsf/php/src/tests/samples/services/wsdl_generation/array_based_service.php

> Providing array based api for WSDL Generation
> ---------------------------------------------
>
>                 Key: WSFPHP-280
>                 URL: https://wso2.org/jira/browse/WSFPHP-280
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>         Environment: Linxu + windows
>            Reporter: Dimuthu Gamage
>            Assignee: Dimuthu Gamage
>             Fix For: 2.0.0
>
>
> Currently wsdl generation happens with the information provided with annotations. In addition to that my suggestion is to provide an API to input information as an array. 
> Here is the suggested API.
> $element = array("name" => "myelement",
>                                "type" => "int",
>                               "maxOccurs" => 5);
> $type = array($element1, $element2, $element3);
> for an example to generate simple adder element
> <element name="adder">
>   <sequence>
>      <element name="num1" type="int"/>
>      <element name="num2" type="int"/>
>   </sequence>
> </element>
> $num1 =array("name" => "num1",
>                           "type" => "int");
> $num2 = array("name" => "num2",
>                          "type" => "int");
> $adder_type = array($num1, $num2);
> $adder = array("name"=> "adder",
>                           "type" => $adder_type);

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