You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Likitha Shetty (JIRA)" <ji...@apache.org> on 2013/05/20 11:37:16 UTC
[jira] [Resolved] (CLOUDSTACK-2576) AWS API not returning values in
CFSimpleXML Object format
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Likitha Shetty resolved CLOUDSTACK-2576.
----------------------------------------
Resolution: Fixed
> AWS API not returning values in CFSimpleXML Object format
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-2576
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2576
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: AWSAPI
> Affects Versions: 4.1.0
> Reporter: Likitha Shetty
> Assignee: Likitha Shetty
> Fix For: 4.2.0
>
>
> Response body of Query API response for AWS PHP SDK is CFSimpleXML whereas response body of CS AWSAPI response is not.
> Sample -
> Response body returned by CS AWSAPI
> <?xml version='1.0' encoding='UTF-8'?><DescribeAvailabilityZonesResponse><requestId>c7ea6e63-5e35-43fb-ab8a-99bcfbd043c4</requestId><availabilityZoneInfo><item><zoneName>zone1</zoneName><zoneState>available</zoneState><regionName></regionName><messageSet><item><message>Disabled</message></item></messageSet></item></availabilityZoneInfo></DescribeAvailabilityZonesResponse>
> Expected response body
> CFSimpleXML Object
> (
> [requestId] => c7ea6e63-5e35-43fb-ab8a-99bcfbd043c4
> [availabilityZoneInfo] => CFSimpleXML Object
> (
> [item] => CFSimpleXML Object
> (
> [zoneName] => zone1
> [zoneState] => available
> [regionName] => CFSimpleXML Object
> (
> )
> [messageSet] => CFSimpleXML Object
> (
> [item] => CFSimpleXML Object
> (
> [message] => Disabled
> )
> )
> )
> )
> )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira