Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34846 invoked from network); 30 Oct 2007 12:12:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2007 12:12:31 -0000 Received: (qmail 72832 invoked by uid 500); 30 Oct 2007 12:12:18 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 72687 invoked by uid 500); 30 Oct 2007 12:12:17 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 72642 invoked by uid 500); 30 Oct 2007 12:12:17 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 72633 invoked by uid 99); 30 Oct 2007 12:12:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 05:12:17 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 12:12:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 93FDB1A9846; Tue, 30 Oct 2007 05:12:07 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r590048 [4/9] - in /webservices/axis2/branches/java/jaxws21: legal/ modules/adb-codegen/ modules/adb-codegen/src/org/apache/axis2/schema/ modules/adb-codegen/src/org/apache/axis2/schema/template/ modules/adb-codegen/src/org/apache/axis2/sch... Date: Tue, 30 Oct 2007 12:11:15 -0000 To: axis2-cvs@ws.apache.org From: pradine@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071030121207.93FDB1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: webservices/axis2/branches/java/jaxws21/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/jaxws21/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl?rev=590048&r1=590047&r2=590048&view=diff ============================================================================== --- webservices/axis2/branches/java/jaxws21/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl (original) +++ webservices/axis2/branches/java/jaxws21/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl Tue Oct 30 05:10:34 2007 @@ -48,14 +48,14 @@ /** * This type was generated from the piece of schema that had - * name = - * Namespace URI = - * Namespace Prefix = + * name = + * Namespace URI = + * Namespace Prefix = */ /** - * implmentation of the | element + * implmentation of the | element */ @@ -73,13 +73,7 @@ axutil_array_list_t* axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + adb__t* @@ -87,7 +81,7 @@ - attrib_; + property_; }; @@ -95,7 +89,7 @@ /************************* Function Implmentations ********************************/ AXIS2_EXTERN _t* AXIS2_CALL _create( - const axutil_env_t *env ) + const axutil_env_t *env) { _t * = NULL; @@ -118,17 +112,27 @@ - ->attrib_ = NULL; + ->property_ = NULL; - qname = axutil_qname_create (env, - "", - "", - ""); + + + qname = axutil_qname_create (env, + "", + "", + ""); + + + qname = axutil_qname_create (env, + "", + NULL, + NULL); + + ->qname = qname; @@ -141,7 +145,6 @@ _t* , const axutil_env_t *env) { - int i = 0; int count = 0; @@ -152,48 +155,39 @@ - - + axutil_array_list_t* axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + - + ()element - ->attrib_ + ->property_ - + element - ->attrib_ + ->property_ @@ -201,59 +195,63 @@ - if ( ->attrib_ != NULL) + if (->property_ != NULL) { - count = axutil_array_list_size( ->attrib_, env); - for( i = 0; i < count; i ++) + count = axutil_array_list_size(->property_, env); + for(i = 0; i < count; i ++) { - element = axutil_array_list_get( ->attrib_, env, i); + element = axutil_array_list_get(->property_, env, i); - if( != NULL) + if( != NULL) { - adb__free( , env); + adb__free(, env); - + /** we keep primtives as pointers in arrasy, so need to free them */ - AXIS2_FREE( env-> allocator, element); + AXIS2_FREE(env-> allocator, element); - AXIS2_FREE( env-> allocator, ); + AXIS2_FREE(env-> allocator, ); - axiom_node_free_tree ( , env ); + axiom_node_free_tree (, env); - axutil_qname_free( , env ); + axutil_qname_free(, env); - axutil_uri_free( , env ); + axutil_uri_free(, env); + + + + axutil_duration_free(, env); - axutil_date_time_free( , env ); + axutil_date_time_free(, env); - axutil_base64_binary_free ( , env ); + axutil_base64_binary_free (, env); - axutil_duration_free ( , env ); + axutil_duration_free (, env); @@ -261,21 +259,21 @@ /** This is an unknown type or a primitive. Please free this manually*/ - = NULL; + = NULL; } } - axutil_array_list_free( ->attrib_, env); + axutil_array_list_free(->property_, env); } - if(->qname ) + if(->qname) { axutil_qname_free (->qname, env); ->qname = NULL; @@ -284,148 +282,178 @@ if() { - AXIS2_FREE( env->allocator, ); + AXIS2_FREE(env->allocator, ); = NULL; } return AXIS2_SUCCESS; } - - axutil_qname_t* AXIS2_CALL - _get_qname ( - _t* , - const axutil_env_t *env) - { - AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - - return -> qname; - } - axis2_status_t AXIS2_CALL _deserialize_from_string( _t* , const axutil_env_t *env, - axis2_char_t *node_value) + axis2_char_t *node_value, + axiom_node_t *parent) { axis2_status_t status = AXIS2_SUCCESS; void *element = NULL; + + axis2_char_t *cp = NULL; + axis2_bool_t prefix_found = AXIS2_FALSE; + axiom_namespace_t *qname_ns; + axutil_array_list_t* axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + - + - - _set_( , + + _set_(, env, atoi(node_value)); - - _set_( , + + _set_(, env, (char)(*node_value)); - - _set_( , + + _set_(, env, atoi(node_value)); - - _set_( , + + _set_(, env, atol(node_value)); - _set_( , + _set_(, env, atof(node_value)); - _set_( , + _set_(, env, atof(node_value)); - _set_( , + _set_(, env, node_value); - + - _set_( , - env, axutil_qname_create_from_string( env, node_value)); + prefix_found = AXIS2_FALSE; + for(cp = node_value; *cp; cp ++) + { + if(*cp == ':') + { + *cp = '\0'; + cp ++; + prefix_found = AXIS2_TRUE; + break; + } + } + + if(prefix_found) + { + /* node value contain the prefix */ + qname_ns = axiom_element_find_namespace_uri(axiom_node_get_data_element(parent, env), env, node_value, parent); + } + else + { + /* Then it is the default namespace */ + cp = node_value; + qname_ns = axiom_element_get_default_namespace(axiom_node_get_data_element(parent, env), env, parent); + } + + + + _set_(, + env, + axutil_qname_create( + env, + cp, /* cp contain the localname */ + axiom_namespace_get_uri(qname_ns, env), + axiom_namespace_get_prefix(qname_ns, env))); - + - _set_( , + _set_(, env, axutil_uri_parse_string(env, node_value)); + + + + _set_(, + env, axutil_duration_create_from_string(env, node_value)); + + - if ( !axutil_strcmp(node_value, "TRUE") || !axutil_strcmp(node_value, "true") ) + if (!axutil_strcmp(node_value, "TRUE") || !axutil_strcmp(node_value, "true")) { - _set_( , + _set_(, env, AXIS2_TRUE); } else { - _set_( , + _set_(, env, AXIS2_FALSE); } + + + _set_(, + env, atoi(node_value)); + - element = (void*)axutil_date_time_create( env); - axutil_date_time_deserialize_date_time( (axutil_date_time_t*)element, env, + element = (void*)axutil_date_time_create(env); + axutil_date_time_deserialize_date_time((axutil_date_time_t*)element, env, node_value); - _set_( , + _set_(, env, ()element); - element = (void*)axutil_base64_binary_create( env); - axutil_base64_binary_set_encoded_binary( ( )element, env, + element = (void*)axutil_base64_binary_create(env); + axutil_base64_binary_set_encoded_binary(()element, env, node_value); - _set_( , - env, ( )element); + _set_(, + env, ()element); @@ -453,7 +481,7 @@ axiom_element_t *parent_element = NULL; axis2_char_t *attrib_text = NULL; - + void *element = NULL; @@ -464,6 +492,13 @@ axutil_qname_t *qname = NULL; + + + + axis2_char_t *cp = NULL; + axis2_bool_t prefix_found = AXIS2_FALSE; + axiom_namespace_t *qname_ns; + axiom_element_t *text_element = NULL; @@ -480,7 +515,7 @@ if(text_element && axiom_text_get_value(text_element, env)) { text_value = (axis2_char_t*)axiom_text_get_value(text_element, env); - status = _deserialize_from_string(, env, text_value); + status = _deserialize_from_string(, env, text_value, parent); } } } @@ -507,23 +542,24 @@ - axis2_qname_t *qname = NULL; + axutil_qname_t *qname = NULL; --> - + yes - axutil_qname_t *element_qname = NULL; + + axutil_qname_t *element_qname = NULL; axiom_node_t *first_node = NULL; @@ -535,6 +571,7 @@ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); + ns1 = axiom_namespace_create (env, @@ -542,8 +579,9 @@ ""); + - if ( NULL == parent ) + if (NULL == parent) { /** This should be checked above */ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL elemenet for " @@ -556,13 +594,13 @@ - current_element = (axiom_element_t *)axiom_node_get_data_element( parent, env); - qname = axiom_element_get_qname( current_element, env, parent); - if ( axutil_qname_equals( qname, env, -> qname ) ) + current_element = (axiom_element_t *)axiom_node_get_data_element(parent, env); + qname = axiom_element_get_qname(current_element, env, parent); + if (axutil_qname_equals(qname, env, -> qname)) { - first_node = axiom_node_get_first_child( parent, env); + first_node = axiom_node_get_first_child(parent, env); first_node = parent; @@ -573,20 +611,22 @@ { AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Failed in building adb object for : " - "Wrong XML to deserialize"); - + "Expected %s but returned %s", + axutil_qname_to_string(qname, env), + axutil_qname_to_string(-> qname, env)); + return AXIS2_FAILURE; } - first_node = axiom_node_get_first_child( parent, env); + first_node = axiom_node_get_first_child(parent, env); if(first_node == NULL) { AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Failed in building adb object for : " - "Wrong XML to deserialize"); - + "It is expected to have a child element"); + return AXIS2_FAILURE; } @@ -600,7 +640,7 @@ - parent_element = (axiom_element_t *)axiom_node_get_data_element( parent, env); + parent_element = (axiom_element_t *)axiom_node_get_data_element(parent, env); @@ -609,149 +649,190 @@ axutil_array_list_t* axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + axiom_node_t* - - - adb__t* - axutil__t* - - axis2__t* - + + adb__t* + - + ()element - ->attrib_ + ->property_ - + element - ->attrib_ + ->property_ - qname = axutil_qname_create( env, "", ""," + + + qname = axutil_qname_create(env, "", ""," - "); - parent_attri = axiom_element_get_attribute( parent_element, env, qname); - if( parent_attri != NULL) + "); + + + qname = axutil_qname_create(env, "", NULL, NULL); + + + + parent_attri = axiom_element_get_attribute(parent_element, env, qname); + if(parent_attri != NULL) { - attrib_text = axiom_attribute_get_value( parent_attri, env); + attrib_text = axiom_attribute_get_value(parent_attri, env); } else { /** hope this work */ - attrib_text = axiom_element_get_attribute_value_by_name( parent_element, env, ""); + attrib_text = axiom_element_get_attribute_value_by_name(parent_element, env, ""); } - if( attrib_text != NULL) + if(attrib_text != NULL) { - - _set_( , - env, atoi( attrib_text)); + + _set_(, + env, atoi(attrib_text)); - - _set_( , + + _set_(, env, (char)(*attrib_text)); - - _set_( , - env, atoi( attrib_text)); + + _set_(, + env, atoi(attrib_text)); - - _set_( , - env, atol( attrib_text)); + + _set_(, + env, atol(attrib_text)); - _set_( , - env, atof( attrib_text)); + _set_(, + env, atof(attrib_text)); - _set_( , - env, atof( attrib_text)); + _set_(, + env, atof(attrib_text)); - _set_( , + _set_(, env, attrib_text); - + - _set_( , - env, axutil_qname_create_from_string( env, attrib_text)); + prefix_found = AXIS2_FALSE; + for(cp = attrib_text; *cp; cp ++) + { + if(*cp == ':') + { + *cp = '\0'; + cp ++; + prefix_found = AXIS2_TRUE; + break; + } + } + + if(prefix_found) + { + /* node value contain the prefix */ + qname_ns = axiom_element_find_namespace_uri(axiom_node_get_data_element(parent, env), env, attrib_text, parent); + } + else + { + /* Then it is the default namespace */ + cp = attrib_text; + qname_ns = axiom_element_get_default_namespace(axiom_node_get_data_element(parent, env), env, parent); + } + + + + _set_(, + env, + axutil_qname_create( + env, + cp, /* cp contain the localname */ + axiom_namespace_get_uri(qname_ns, env), + axiom_namespace_get_prefix(qname_ns, env))); - + - _set_( , - env, axutil_uri_parse_string( env, attrib_text)); + _set_(, + env, axutil_uri_parse_string(env, attrib_text)); + + + + + _set_(, + env, axutil_duration_create_from_string(env, attrib_text)); - if ( !axutil_strcmp( attrib_text, "TRUE") || !axutil_strcmp( attrib_text, "true") ) + if (!axutil_strcmp(attrib_text, "TRUE") || !axutil_strcmp(attrib_text, "true")) { - _set_( , + _set_(, env, AXIS2_TRUE); } else { - _set_( , + _set_(, env, AXIS2_FALSE); } + + _set_(, + env, atoi(attrib_text)); + - element = (void*)axutil_date_time_create( env); - axutil_date_time_deserialize_date_time( (axutil_date_time_t*)element, env, + element = (void*)axutil_date_time_create(env); + axutil_date_time_deserialize_date_time((axutil_date_time_t*)element, env, attrib_text); - _set_( , - env, ( )element); + _set_(, + env, ()element); - element = (void*)axutil_base64_binary_create( env); - axutil_base64_binary_set_encoded_binary( ( )element), env, + element = (void*)axutil_base64_binary_create(env); + axutil_base64_binary_set_encoded_binary(()element), env, attrib_text); - _set_( , - env, ( )element); + _set_(, + env, ()element); element = (void*)adb__create(env); - adb__deserialize_from_string(element, env, attrib_text); - _set_( , - env, ( )element); + adb__deserialize_from_string(element, env, attrib_text, parent); + _set_(, + env, ()element); @@ -762,7 +843,7 @@ else { - /** this is not a nillable attribute*/ + /* This is not a nillable attribute*/ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "non nillable attribute missing" " %d :: %s", env->error->error_number, AXIS2_ERROR_GET_MESSAGE(env->error)); @@ -774,14 +855,14 @@ - /** + /* * building array */ - arr_list = axutil_array_list_create( env, 10); + arr_list = axutil_array_list_create(env, 10); - /** + /* * building element */ @@ -799,9 +880,9 @@ * because elements are ordered this works fine */ - if( current_node != NULL) + if(current_node != NULL) { - current_node = axiom_node_get_next_sibling( current_node, env); + current_node = axiom_node_get_next_sibling(current_node, env); } @@ -810,15 +891,22 @@ /** * because elements are not ordered we should surf all the sibling to pick the right one */ - for ( current_node = first_node; current_node != NULL; - current_node = axiom_node_get_next_sibling( current_node, env)) + for (current_node = first_node; current_node != NULL; + current_node = axiom_node_get_next_sibling(current_node, env)) { - current_element = (axiom_element_t *)axiom_node_get_data_element( current_node, env); - qname = axiom_element_get_qname( current_element, env, current_node); - element_qname = axutil_qname_create( env, "", "", " + current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env); + qname = axiom_element_get_qname(current_element, env, current_node); + + + element_qname = axutil_qname_create(env, "", "", " "); - if ( axutil_qname_equals( element_qname, env, qname)) + + + element_qname = axutil_qname_create(env, "", NULL, NULL); + + + if (axutil_qname_equals(element_qname, env, qname)) { /** found the requried element */ break; @@ -827,244 +915,359 @@ - if (current_node && axiom_node_get_data_element( current_node, env) && !axutil_strcmp("", - axiom_element_get_localname((axiom_element_t *)axiom_node_get_data_element( current_node, env), env)) + if (current_node && axiom_node_get_data_element(current_node, env) && !axutil_strcmp("", + axiom_element_get_localname((axiom_element_t *)axiom_node_get_data_element(current_node, env), env)) ) { - current_element = (axiom_element_t *)axiom_node_get_data_element( current_node, env); + current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env); - element = (void*)adb__create( env); + element = (void*)adb__create(env); - status = adb__deserialize(( )element, + status = adb__deserialize(()element, env, current_node); - if( AXIS2_FAILURE == status) + if(AXIS2_FAILURE == status) { AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in building element " " %d :: %s", env->error->error_number, AXIS2_ERROR_GET_MESSAGE(env->error)); return AXIS2_FAILURE; } - status = _set_( , env, - ( )element); + status = _set_(, env, + ()element); - text_value = axiom_element_get_text(current_element, env, current_node ); - status = _set_( , env, + text_value = axiom_element_get_text(current_element, env, current_node); + + if(text_value == NULL) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); + status = AXIS2_FAILURE; + } + else + { + + status = _set_(, env, text_value); + + } + - - text_value = axiom_element_get_text(current_element, env, current_node ); - status = _set_( , env, - axutil_uri_parse_string( env, text_value)); + + text_value = axiom_element_get_text(current_element, env, current_node); + + if(text_value == NULL) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); + status = AXIS2_FAILURE; + } + else + { + + status = _set_(, env, + axutil_uri_parse_string(env, text_value)); + + } + + - - text_value = axiom_element_get_text(current_element, env, current_node ); - status = _set_( , env, - axutil_qname_create_from_string( env, text_value)); + + text_value = axiom_element_get_text(current_element, env, current_node); + + if(text_value == NULL) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); + status = AXIS2_FAILURE; + } + else + { + + status = _set_(, env, + axutil_duration_create_from_string(env, text_value)); + + } + + - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - (char)(*text_value)); + + prefix_found = AXIS2_FALSE; + for(cp = text_value; *cp; cp ++) + { + if(*cp == ':') + { + *cp = '\0'; + cp ++; + prefix_found = AXIS2_TRUE; + break; + } + } + + if(prefix_found) + { + /* node value contain the prefix */ + qname_ns = axiom_element_find_namespace_uri(current_element, env, text_value, current_node); + } + else + { + /* Then it is the default namespace */ + cp = text_value; + qname_ns = axiom_element_get_default_namespace(current_element, env, current_node); } + + + + status = _set_(, + env, + axutil_qname_create( + env, + cp, /* cp contain the localname */ + axiom_namespace_get_uri(qname_ns, env), + axiom_namespace_get_prefix(qname_ns, env))); + + } + - - - status = _set_( , env, + + + text_value = axiom_element_get_text(current_element, env, current_node); + + if(text_value == NULL) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); + status = AXIS2_FAILURE; + } + else + { + + status = _set_(, env, (char)(*text_value)); - - + + } + + - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - atoi( text_value)); + + status = _set_(, env, + atoi(text_value)); + } + - - - status = _set_( , env, - atoi( text_value)); - - - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - atoi( text_value)); + + status = _set_(, env, + atoi(text_value)); + } + + + + + text_value = axiom_element_get_text(current_element, env, current_node); + + if(text_value == NULL) + { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); + status = AXIS2_FAILURE; + } + else + { + + + status = _set_(, env, + atoi(text_value)); + + } + - - - status = _set_( , env, - atoi( text_value)); - - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - atof( text_value)); + + status = _set_(, env, + atof(text_value)); + } + - - - status = _set_( , env, - atof( text_value)); - - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - atof( text_value)); + + status = _set_(, env, + atof(text_value)); + } + - - - status = _set_( , env, - atof( text_value)); - - - - text_value = axiom_element_get_text(current_element, env, current_node ); - - + + text_value = axiom_element_get_text(current_element, env, current_node); + if(text_value == NULL) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element "); status = AXIS2_FAILURE; } else { - status = _set_( , env, - atol( text_value)); + + + status = _set_(, env, [... 2339 lines stripped ...] --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org