+ if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://salome.service.ws_server.splat.org", AXIS2_HASH_KEY_STRING)))
+ {
+ p_prefix = (axis2_char_t*)AXIS2_MALLOC(Environment::getEnv()->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
+ sprintf(p_prefix, "n%d", (*next_ns_index)++);
+ axutil_hash_set(namespaces, "http://salome.service.ws_server.splat.org", AXIS2_HASH_KEY_STRING, p_prefix);
+
+ axiom_element_declare_namespace_assume_param_ownership(parent_element, Environment::getEnv(), axiom_namespace_create (Environment::getEnv(),
+ "http://salome.service.ws_server.splat.org", p_prefix));
+ }
+
+
+ if (!isValidArgs2)
+ {
+
+ /* no need to complain for minoccurs=0 element */
+
+
+ }
+ else
+ {
+ start_input_str = (axis2_char_t*)AXIS2_MALLOC(Environment::getEnv()->allocator, sizeof(axis2_char_t) *
+ (4 + axutil_strlen(p_prefix) +
+ axutil_strlen("args2")));
+
+ /* axutil_strlen("<:>") + 1 = 4 */
+ end_input_str = (axis2_char_t*)AXIS2_MALLOC(Environment::getEnv()->allocator, sizeof(axis2_char_t) *
+ (5 + axutil_strlen(p_prefix) + axutil_strlen("args2")));
+ /* axutil_strlen("</:>") + 1 = 5 */
+
+
+
+
+
+
+ /*
+ * parsing args2 element
+ */
+
+
+
+ sprintf(start_input_str, "<%s%sargs2>",
+ p_prefix?p_prefix:"",
+ (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
+
+ start_input_str_len = axutil_strlen(start_input_str);
+ sprintf(end_input_str, "</%s%sargs2>",
+ p_prefix?p_prefix:"",
+ (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
+ end_input_str_len = axutil_strlen(end_input_str);
+
+ sprintf (text_value_3, AXIS2_PRINTF_INT64_FORMAT_SPECIFIER, (int64_t) property_Args2);
+
+ axutil_stream_write(stream, Environment::getEnv(), start_input_str, start_input_str_len);
+
+ axutil_stream_write(stream, Environment::getEnv(), text_value_3, axutil_strlen(text_value_3));
+
+ axutil_stream_write(stream, Environment::getEnv(), end_input_str, end_input_str_len);
+
+
+ AXIS2_FREE(Environment::getEnv()->allocator,start_input_str);
+ AXIS2_FREE(Environment::getEnv()->allocator,end_input_str);
+ }
+
+