[wsf-c-dev] [jira] Resolved: (WSFPHP-202) WSDL Mode to support
Schema Complex Types and maxOccurs > 1 (arrays)
Dimuthu Gamage (JIRA)
jira at wso2.org
Wed Feb 6 11:09:59 PST 2008
[ http://wso2.org/jira/browse/WSFPHP-202?page=all ]
Dimuthu Gamage resolved WSFPHP-202.
-----------------------------------
Resolution: Fixed
The current SVN fixed the issue. Please check the attachment fix.tar.gz in https://wso2.org/jira/browse/WSFPHP-179 for a test case.. All the current samples are working without any change.
The current implementation has following features.
1. The data can be feed in two forms, 1. PHP arrays 2. PHP objects.
2. When creating xmls, arrays and objects are interchangeable in your feed.
e.g. $req = "array("param1" => new Foo(),
"param2" => array("bar" => new Bar());
3. classmap is not required for classes which creates the xml both in WSClient and WSService. Allthough the classmap is given for classes involve building payload, they will not be used..
4. The response in client side, (similarly request in server side) will be map to object heirachy if "classmap" option is given, or to just arrays if no "classmap" option is given.
5. When parsing the response if the classmap dosn't have an entry to map any classname, it will assume the class name to be same as the element or the type name and continues.
6. Regardless of object representation or array representation, maxOccurs>1 or unbounded case is represented by PHP arrays.
Thanks
Dimuthu
> WSDL Mode to support Schema Complex Types and maxOccurs > 1 (arrays)
> --------------------------------------------------------------------
>
> Key: WSFPHP-202
> URL: http://wso2.org/jira/browse/WSFPHP-202
> Project: WSO2 WSF/PHP
> Issue Type: Improvement
> Affects Versions: Current (nightly)
> Environment: Both Linux and Windows
> Reporter: Dimuthu Gamage
> Assigned To: Dimuthu Gamage
> Fix For: 1.2.1
>
>
> WSF/PHP 1.2 release doesn't support for ComplexType in to any number of deep level or Arrays in the WSDL mode. This should be fixed.
--
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