[wsf-c-dev] [jira] Created: (WSFPHP-280) Providing array based api
for WSDL Generation
Dimuthu Gamage (JIRA)
jira at wso2.org
Wed May 21 07:30:17 PDT 2008
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
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