1704
1718
axutil_stream_write(stream, env, text_value_2, axutil_strlen(text_value_2));
1707
1721
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1710
1724
AXIS2_FREE(env->allocator,start_input_str);
1711
1725
AXIS2_FREE(env->allocator,end_input_str);
1715
1729
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1717
1731
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1718
1732
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1719
1733
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1721
1735
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1722
1736
"http://eucalyptus.ucsb.edu/",
1727
1741
if (!_ncDescribeResourceResponseType->is_valid_return)
1730
1744
/* no need to complain for minoccurs=0 element */
1736
1750
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1737
(4 + axutil_strlen(p_prefix) +
1738
axutil_strlen("return")));
1751
(4 + axutil_strlen(p_prefix) +
1752
axutil_strlen("return")));
1740
1754
/* axutil_strlen("<:>") + 1 = 4 */
1741
1755
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1742
1756
(5 + axutil_strlen(p_prefix) + axutil_strlen("return")));
1743
1757
/* axutil_strlen("</:>") + 1 = 5 */
1751
1765
* parsing return element
1756
1770
sprintf(start_input_str, "<%s%sreturn>",
1757
1771
p_prefix?p_prefix:"",
1758
1772
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1760
1774
start_input_str_len = axutil_strlen(start_input_str);
1761
1775
sprintf(end_input_str, "</%s%sreturn>",
1762
1776
p_prefix?p_prefix:"",
1763
1777
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1764
1778
end_input_str_len = axutil_strlen(end_input_str);
1766
1780
strcpy(text_value_3, (_ncDescribeResourceResponseType->property_return)?"true":"false");
1768
1782
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1770
1784
axutil_stream_write(stream, env, text_value_3, axutil_strlen(text_value_3));
1772
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1775
AXIS2_FREE(env->allocator,start_input_str);
1776
AXIS2_FREE(env->allocator,end_input_str);
1780
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1782
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1783
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1784
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1786
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1787
"http://eucalyptus.ucsb.edu/",
1786
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1789
AXIS2_FREE(env->allocator,start_input_str);
1790
AXIS2_FREE(env->allocator,end_input_str);
1794
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1796
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1797
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1798
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1800
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1801
"http://eucalyptus.ucsb.edu/",
1806
if (!_ncDescribeResourceResponseType->is_valid_nodeName)
1809
/* no need to complain for minoccurs=0 element */
1815
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1816
(4 + axutil_strlen(p_prefix) +
1817
axutil_strlen("nodeName")));
1819
/* axutil_strlen("<:>") + 1 = 4 */
1820
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1821
(5 + axutil_strlen(p_prefix) + axutil_strlen("nodeName")));
1822
/* axutil_strlen("</:>") + 1 = 5 */
1830
* parsing nodeName element
1835
sprintf(start_input_str, "<%s%snodeName>",
1836
p_prefix?p_prefix:"",
1837
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1839
start_input_str_len = axutil_strlen(start_input_str);
1840
sprintf(end_input_str, "</%s%snodeName>",
1841
p_prefix?p_prefix:"",
1842
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1843
end_input_str_len = axutil_strlen(end_input_str);
1845
text_value_4 = _ncDescribeResourceResponseType->property_nodeName;
1847
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1850
text_value_4_temp = axutil_xml_quote_string(env, text_value_4, AXIS2_TRUE);
1851
if (text_value_4_temp)
1853
axutil_stream_write(stream, env, text_value_4_temp, axutil_strlen(text_value_4_temp));
1854
AXIS2_FREE(env->allocator, text_value_4_temp);
1858
axutil_stream_write(stream, env, text_value_4, axutil_strlen(text_value_4));
1861
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1864
AXIS2_FREE(env->allocator,start_input_str);
1865
AXIS2_FREE(env->allocator,end_input_str);
1869
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1871
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1872
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1873
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1875
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1876
"http://eucalyptus.ucsb.edu/",
1792
1881
if (!_ncDescribeResourceResponseType->is_valid_statusMessage)
1795
1884
/* no need to complain for minoccurs=0 element */
1801
1890
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1802
(4 + axutil_strlen(p_prefix) +
1803
axutil_strlen("statusMessage")));
1891
(4 + axutil_strlen(p_prefix) +
1892
axutil_strlen("statusMessage")));
1805
1894
/* axutil_strlen("<:>") + 1 = 4 */
1806
1895
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1807
1896
(5 + axutil_strlen(p_prefix) + axutil_strlen("statusMessage")));
1808
1897
/* axutil_strlen("</:>") + 1 = 5 */
1816
1905
* parsing statusMessage element
1821
1910
sprintf(start_input_str, "<%s%sstatusMessage>",
1822
1911
p_prefix?p_prefix:"",
1823
1912
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1825
1914
start_input_str_len = axutil_strlen(start_input_str);
1826
1915
sprintf(end_input_str, "</%s%sstatusMessage>",
1827
1916
p_prefix?p_prefix:"",
1828
1917
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1829
1918
end_input_str_len = axutil_strlen(end_input_str);
1831
sprintf (text_value_4, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_statusMessage);
1920
sprintf (text_value_5, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_statusMessage);
1833
1922
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1835
axutil_stream_write(stream, env, text_value_4, axutil_strlen(text_value_4));
1924
axutil_stream_write(stream, env, text_value_5, axutil_strlen(text_value_5));
1837
1926
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1840
1929
AXIS2_FREE(env->allocator,start_input_str);
1841
1930
AXIS2_FREE(env->allocator,end_input_str);
1845
1934
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1847
1936
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1848
1937
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1849
1938
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1851
1940
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1852
1941
"http://eucalyptus.ucsb.edu/",
1857
1946
if (!_ncDescribeResourceResponseType->is_valid_nodeStatus)
1861
1950
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property nodeStatus");
1867
1956
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1868
(4 + axutil_strlen(p_prefix) +
1869
axutil_strlen("nodeStatus")));
1957
(4 + axutil_strlen(p_prefix) +
1958
axutil_strlen("nodeStatus")));
1871
1960
/* axutil_strlen("<:>") + 1 = 4 */
1872
1961
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1873
1962
(5 + axutil_strlen(p_prefix) + axutil_strlen("nodeStatus")));
1874
1963
/* axutil_strlen("</:>") + 1 = 5 */
1882
1971
* parsing nodeStatus element
1887
1976
sprintf(start_input_str, "<%s%snodeStatus>",
1888
1977
p_prefix?p_prefix:"",
1889
1978
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1891
1980
start_input_str_len = axutil_strlen(start_input_str);
1892
1981
sprintf(end_input_str, "</%s%snodeStatus>",
1893
1982
p_prefix?p_prefix:"",
1894
1983
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1895
1984
end_input_str_len = axutil_strlen(end_input_str);
1897
text_value_5 = _ncDescribeResourceResponseType->property_nodeStatus;
1986
text_value_6 = _ncDescribeResourceResponseType->property_nodeStatus;
1899
1988
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1902
text_value_5_temp = axutil_xml_quote_string(env, text_value_5, AXIS2_TRUE);
1903
if (text_value_5_temp)
1991
text_value_6_temp = axutil_xml_quote_string(env, text_value_6, AXIS2_TRUE);
1992
if (text_value_6_temp)
1905
axutil_stream_write(stream, env, text_value_5_temp, axutil_strlen(text_value_5_temp));
1906
AXIS2_FREE(env->allocator, text_value_5_temp);
1994
axutil_stream_write(stream, env, text_value_6_temp, axutil_strlen(text_value_6_temp));
1995
AXIS2_FREE(env->allocator, text_value_6_temp);
1910
axutil_stream_write(stream, env, text_value_5, axutil_strlen(text_value_5));
1999
axutil_stream_write(stream, env, text_value_6, axutil_strlen(text_value_6));
1913
2002
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1916
2005
AXIS2_FREE(env->allocator,start_input_str);
1917
2006
AXIS2_FREE(env->allocator,end_input_str);
1921
2010
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1923
2012
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1924
2013
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1925
2014
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1927
2016
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1928
2017
"http://eucalyptus.ucsb.edu/",
1933
2022
if (!_ncDescribeResourceResponseType->is_valid_memorySizeMax)
1937
2026
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property memorySizeMax");
1943
2032
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1944
(4 + axutil_strlen(p_prefix) +
1945
axutil_strlen("memorySizeMax")));
2033
(4 + axutil_strlen(p_prefix) +
2034
axutil_strlen("memorySizeMax")));
1947
2036
/* axutil_strlen("<:>") + 1 = 4 */
1948
2037
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1949
2038
(5 + axutil_strlen(p_prefix) + axutil_strlen("memorySizeMax")));
1950
2039
/* axutil_strlen("</:>") + 1 = 5 */
1958
2047
* parsing memorySizeMax element
1963
2052
sprintf(start_input_str, "<%s%smemorySizeMax>",
1964
2053
p_prefix?p_prefix:"",
1965
2054
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1967
2056
start_input_str_len = axutil_strlen(start_input_str);
1968
2057
sprintf(end_input_str, "</%s%smemorySizeMax>",
1969
2058
p_prefix?p_prefix:"",
1970
2059
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1971
2060
end_input_str_len = axutil_strlen(end_input_str);
1973
sprintf (text_value_6, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_memorySizeMax);
2062
sprintf (text_value_7, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_memorySizeMax);
1975
2064
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1977
axutil_stream_write(stream, env, text_value_6, axutil_strlen(text_value_6));
2066
axutil_stream_write(stream, env, text_value_7, axutil_strlen(text_value_7));
1979
2068
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1982
2071
AXIS2_FREE(env->allocator,start_input_str);
1983
2072
AXIS2_FREE(env->allocator,end_input_str);
1987
2076
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1989
2078
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1990
2079
sprintf(p_prefix, "n%d", (*next_ns_index)++);
1991
2080
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1993
2082
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1994
2083
"http://eucalyptus.ucsb.edu/",
1999
2088
if (!_ncDescribeResourceResponseType->is_valid_memorySizeAvailable)
2003
2092
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property memorySizeAvailable");
2009
2098
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2010
(4 + axutil_strlen(p_prefix) +
2011
axutil_strlen("memorySizeAvailable")));
2099
(4 + axutil_strlen(p_prefix) +
2100
axutil_strlen("memorySizeAvailable")));
2013
2102
/* axutil_strlen("<:>") + 1 = 4 */
2014
2103
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2015
2104
(5 + axutil_strlen(p_prefix) + axutil_strlen("memorySizeAvailable")));
2016
2105
/* axutil_strlen("</:>") + 1 = 5 */
2024
2113
* parsing memorySizeAvailable element
2029
2118
sprintf(start_input_str, "<%s%smemorySizeAvailable>",
2030
2119
p_prefix?p_prefix:"",
2031
2120
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2033
2122
start_input_str_len = axutil_strlen(start_input_str);
2034
2123
sprintf(end_input_str, "</%s%smemorySizeAvailable>",
2035
2124
p_prefix?p_prefix:"",
2036
2125
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2037
2126
end_input_str_len = axutil_strlen(end_input_str);
2039
sprintf (text_value_7, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_memorySizeAvailable);
2128
sprintf (text_value_8, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_memorySizeAvailable);
2041
2130
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2043
axutil_stream_write(stream, env, text_value_7, axutil_strlen(text_value_7));
2132
axutil_stream_write(stream, env, text_value_8, axutil_strlen(text_value_8));
2045
2134
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2048
2137
AXIS2_FREE(env->allocator,start_input_str);
2049
2138
AXIS2_FREE(env->allocator,end_input_str);
2053
2142
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
2055
2144
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
2056
2145
sprintf(p_prefix, "n%d", (*next_ns_index)++);
2057
2146
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
2059
2148
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
2060
2149
"http://eucalyptus.ucsb.edu/",
2065
2154
if (!_ncDescribeResourceResponseType->is_valid_diskSizeMax)
2069
2158
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property diskSizeMax");
2075
2164
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2076
(4 + axutil_strlen(p_prefix) +
2077
axutil_strlen("diskSizeMax")));
2165
(4 + axutil_strlen(p_prefix) +
2166
axutil_strlen("diskSizeMax")));
2079
2168
/* axutil_strlen("<:>") + 1 = 4 */
2080
2169
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2081
2170
(5 + axutil_strlen(p_prefix) + axutil_strlen("diskSizeMax")));
2082
2171
/* axutil_strlen("</:>") + 1 = 5 */
2090
2179
* parsing diskSizeMax element
2095
2184
sprintf(start_input_str, "<%s%sdiskSizeMax>",
2096
2185
p_prefix?p_prefix:"",
2097
2186
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2099
2188
start_input_str_len = axutil_strlen(start_input_str);
2100
2189
sprintf(end_input_str, "</%s%sdiskSizeMax>",
2101
2190
p_prefix?p_prefix:"",
2102
2191
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2103
2192
end_input_str_len = axutil_strlen(end_input_str);
2105
sprintf (text_value_8, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_diskSizeMax);
2194
sprintf (text_value_9, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_diskSizeMax);
2107
2196
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2109
axutil_stream_write(stream, env, text_value_8, axutil_strlen(text_value_8));
2198
axutil_stream_write(stream, env, text_value_9, axutil_strlen(text_value_9));
2111
2200
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2114
2203
AXIS2_FREE(env->allocator,start_input_str);
2115
2204
AXIS2_FREE(env->allocator,end_input_str);
2119
2208
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
2121
2210
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
2122
2211
sprintf(p_prefix, "n%d", (*next_ns_index)++);
2123
2212
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
2125
2214
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
2126
2215
"http://eucalyptus.ucsb.edu/",
2131
2220
if (!_ncDescribeResourceResponseType->is_valid_diskSizeAvailable)
2135
2224
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property diskSizeAvailable");
2141
2230
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2142
(4 + axutil_strlen(p_prefix) +
2143
axutil_strlen("diskSizeAvailable")));
2231
(4 + axutil_strlen(p_prefix) +
2232
axutil_strlen("diskSizeAvailable")));
2145
2234
/* axutil_strlen("<:>") + 1 = 4 */
2146
2235
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2147
2236
(5 + axutil_strlen(p_prefix) + axutil_strlen("diskSizeAvailable")));
2148
2237
/* axutil_strlen("</:>") + 1 = 5 */
2156
2245
* parsing diskSizeAvailable element
2161
2250
sprintf(start_input_str, "<%s%sdiskSizeAvailable>",
2162
2251
p_prefix?p_prefix:"",
2163
2252
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2165
2254
start_input_str_len = axutil_strlen(start_input_str);
2166
2255
sprintf(end_input_str, "</%s%sdiskSizeAvailable>",
2167
2256
p_prefix?p_prefix:"",
2168
2257
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2169
2258
end_input_str_len = axutil_strlen(end_input_str);
2171
sprintf (text_value_9, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_diskSizeAvailable);
2260
sprintf (text_value_10, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_diskSizeAvailable);
2173
2262
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2175
axutil_stream_write(stream, env, text_value_9, axutil_strlen(text_value_9));
2264
axutil_stream_write(stream, env, text_value_10, axutil_strlen(text_value_10));
2177
2266
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2180
2269
AXIS2_FREE(env->allocator,start_input_str);
2181
2270
AXIS2_FREE(env->allocator,end_input_str);
2185
2274
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
2187
2276
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
2188
2277
sprintf(p_prefix, "n%d", (*next_ns_index)++);
2189
2278
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
2191
2280
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
2192
2281
"http://eucalyptus.ucsb.edu/",
2197
2286
if (!_ncDescribeResourceResponseType->is_valid_numberOfCoresMax)
2201
2290
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property numberOfCoresMax");
2207
2296
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2208
(4 + axutil_strlen(p_prefix) +
2209
axutil_strlen("numberOfCoresMax")));
2297
(4 + axutil_strlen(p_prefix) +
2298
axutil_strlen("numberOfCoresMax")));
2211
2300
/* axutil_strlen("<:>") + 1 = 4 */
2212
2301
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2213
2302
(5 + axutil_strlen(p_prefix) + axutil_strlen("numberOfCoresMax")));
2214
2303
/* axutil_strlen("</:>") + 1 = 5 */
2222
2311
* parsing numberOfCoresMax element
2227
2316
sprintf(start_input_str, "<%s%snumberOfCoresMax>",
2228
2317
p_prefix?p_prefix:"",
2229
2318
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2231
2320
start_input_str_len = axutil_strlen(start_input_str);
2232
2321
sprintf(end_input_str, "</%s%snumberOfCoresMax>",
2233
2322
p_prefix?p_prefix:"",
2234
2323
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2235
2324
end_input_str_len = axutil_strlen(end_input_str);
2237
sprintf (text_value_10, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_numberOfCoresMax);
2326
sprintf (text_value_11, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_numberOfCoresMax);
2239
2328
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2241
axutil_stream_write(stream, env, text_value_10, axutil_strlen(text_value_10));
2330
axutil_stream_write(stream, env, text_value_11, axutil_strlen(text_value_11));
2243
2332
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2246
2335
AXIS2_FREE(env->allocator,start_input_str);
2247
2336
AXIS2_FREE(env->allocator,end_input_str);
2251
2340
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
2253
2342
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
2254
2343
sprintf(p_prefix, "n%d", (*next_ns_index)++);
2255
2344
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
2257
2346
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
2258
2347
"http://eucalyptus.ucsb.edu/",
2263
2352
if (!_ncDescribeResourceResponseType->is_valid_numberOfCoresAvailable)
2267
2356
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property numberOfCoresAvailable");
2273
2362
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2274
(4 + axutil_strlen(p_prefix) +
2275
axutil_strlen("numberOfCoresAvailable")));
2363
(4 + axutil_strlen(p_prefix) +
2364
axutil_strlen("numberOfCoresAvailable")));
2277
2366
/* axutil_strlen("<:>") + 1 = 4 */
2278
2367
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2279
2368
(5 + axutil_strlen(p_prefix) + axutil_strlen("numberOfCoresAvailable")));
2280
2369
/* axutil_strlen("</:>") + 1 = 5 */
2288
2377
* parsing numberOfCoresAvailable element
2293
2382
sprintf(start_input_str, "<%s%snumberOfCoresAvailable>",
2294
2383
p_prefix?p_prefix:"",
2295
2384
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2297
2386
start_input_str_len = axutil_strlen(start_input_str);
2298
2387
sprintf(end_input_str, "</%s%snumberOfCoresAvailable>",
2299
2388
p_prefix?p_prefix:"",
2300
2389
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2301
2390
end_input_str_len = axutil_strlen(end_input_str);
2303
sprintf (text_value_11, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_numberOfCoresAvailable);
2392
sprintf (text_value_12, AXIS2_PRINTF_INT32_FORMAT_SPECIFIER, _ncDescribeResourceResponseType->property_numberOfCoresAvailable);
2305
2394
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2307
axutil_stream_write(stream, env, text_value_11, axutil_strlen(text_value_11));
2396
axutil_stream_write(stream, env, text_value_12, axutil_strlen(text_value_12));
2309
2398
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2312
2401
AXIS2_FREE(env->allocator,start_input_str);
2313
2402
AXIS2_FREE(env->allocator,end_input_str);
2317
2406
if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
2319
2408
p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
2320
2409
sprintf(p_prefix, "n%d", (*next_ns_index)++);
2321
2410
axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
2323
2412
axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
2324
2413
"http://eucalyptus.ucsb.edu/",
2329
2418
if (!_ncDescribeResourceResponseType->is_valid_publicSubnets)
2333
2422
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Nil value found in non-nillable property publicSubnets");
2339
2428
start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2340
(4 + axutil_strlen(p_prefix) +
2341
axutil_strlen("publicSubnets")));
2429
(4 + axutil_strlen(p_prefix) +
2430
axutil_strlen("publicSubnets")));
2343
2432
/* axutil_strlen("<:>") + 1 = 4 */
2344
2433
end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
2345
2434
(5 + axutil_strlen(p_prefix) + axutil_strlen("publicSubnets")));
2346
2435
/* axutil_strlen("</:>") + 1 = 5 */
2354
2443
* parsing publicSubnets element
2359
2448
sprintf(start_input_str, "<%s%spublicSubnets>",
2360
2449
p_prefix?p_prefix:"",
2361
2450
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2363
2452
start_input_str_len = axutil_strlen(start_input_str);
2364
2453
sprintf(end_input_str, "</%s%spublicSubnets>",
2365
2454
p_prefix?p_prefix:"",
2366
2455
(p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
2367
2456
end_input_str_len = axutil_strlen(end_input_str);
2369
text_value_12 = _ncDescribeResourceResponseType->property_publicSubnets;
2458
text_value_13 = _ncDescribeResourceResponseType->property_publicSubnets;
2371
2460
axutil_stream_write(stream, env, start_input_str, start_input_str_len);
2374
text_value_12_temp = axutil_xml_quote_string(env, text_value_12, AXIS2_TRUE);
2375
if (text_value_12_temp)
2463
text_value_13_temp = axutil_xml_quote_string(env, text_value_13, AXIS2_TRUE);
2464
if (text_value_13_temp)
2377
axutil_stream_write(stream, env, text_value_12_temp, axutil_strlen(text_value_12_temp));
2378
AXIS2_FREE(env->allocator, text_value_12_temp);
2466
axutil_stream_write(stream, env, text_value_13_temp, axutil_strlen(text_value_13_temp));
2467
AXIS2_FREE(env->allocator, text_value_13_temp);
2382
axutil_stream_write(stream, env, text_value_12, axutil_strlen(text_value_12));
2471
axutil_stream_write(stream, env, text_value_13, axutil_strlen(text_value_13));
2385
2474
axutil_stream_write(stream, env, end_input_str, end_input_str_len);
2388
2477
AXIS2_FREE(env->allocator,start_input_str);
2389
2478
AXIS2_FREE(env->allocator,end_input_str);
2401
2490
* getter for correlationId.