axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r399981 - in /webservices/axis2/trunk/c: include/axis2_error.h modules/util/error.c
Date Fri, 05 May 2006 06:09:44 GMT
Author: nandika
Date: Thu May  4 23:09:43 2006
New Revision: 399981

URL: http://svn.apache.org/viewcvs?rev=399981&view=rev
Log:
error code descriptions added 

Modified:
    webservices/axis2/trunk/c/include/axis2_error.h
    webservices/axis2/trunk/c/modules/util/error.c

Modified: webservices/axis2/trunk/c/include/axis2_error.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_error.h?rev=399981&r1=399980&r2=399981&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_error.h (original)
+++ webservices/axis2/trunk/c/include/axis2_error.h Thu May  4 23:09:43 2006
@@ -436,21 +436,21 @@
         AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI,
         /** Invalid SOAP version */
         AXIS2_ERROR_INVALID_SOAP_VERSION,
-        /*TODO ADDCOMMENT*/
+        /* invalid value found in must understand attribute*/
         AXIS2_ERROR_INVALID_VALUE_FOUND_IN_MUST_UNDERSTAND,
-        /*TODO ADDCOMMENT*/
+        /*multiple code elements encountered in soap fault element*/
         AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*multiple detail elements encountered in soap fault element*/
         AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*multiple node elements encountered in soap fault element*/
         AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*multiple reason elements encountered in soap fault element*/
         AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*multiple role elements encounterd in soap fault element*/
         AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*multiple sub code values encountered in soap fault element*/
         AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /* multiple value elements encounered */
         AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT,
         /* must understatnd attribute should have values of true or false */
         AXIS2_ERROR_MUST_UNDERSTAND_SHOULD_BE_1_0_TRUE_FALSE,
@@ -461,7 +461,7 @@
         AXIS2_ERROR_ONLY_CHARACTERS_ARE_ALLOWED_HERE,
         /** only one SOAP fault allowed in SOAP body */
         AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY,
-        /*TODO ADDCOMMENT*/
+        /*soap11 fault actor element should not have child elements*/
         AXIS2_ERROR_SOAP11_FAULT_ACTOR_SHOULD_NOT_HAVE_CHILD_ELEMENTS,
         /** soap builder found a child element other than header or body in envelope 
         element */
@@ -472,29 +472,29 @@
         AXIS2_ERROR_SOAP_BUILDER_MULTIPLE_BODY_ELEMENTS_ENCOUNTERED,
         /** soap builder encountered multiple headers */
         AXIS2_ERROR_SOAP_BUILDER_MULTIPLE_HEADERS_ENCOUNTERED,
-        /*TODO ADDCOMMENT*/
+        /*soap fault code element should a mandatory fault value element */
         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE,
-        /*TODO ADDCOMMENT*/
+        /*soap fault reason element should have a text */
         AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT,
-        /*TODO ADDCOMMENT*/
+        /*soap fault role element should have a text value*/
         AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT,
-        /*TODO ADDCOMMENT*/
+        /* soap fault value should be present before sub code element in soap fault code*/
         AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
         /** soap message does not have an envelope element */
         AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE,
-        /*TODO ADDCOMMENT*/
+        /*soap message first element must contain a localname*/
         AXIS2_ERROR_SOAP_MESSAGE_FIRST_ELEMENT_MUST_CONTAIN_LOCAL_NAME,
-        /*TODO ADDCOMMENT*/
+        /* this localname is not supported inside a reason element*/
         AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT,
-        /*TODO ADDCOMMENT*/
+        /*this localname is not supported inside a sub code element*/
         AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT,
-        /*TODO ADDCOMMENT*/
+        /*this localname is not supported inside the code element*/
         AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT,
-        /*TODO ADDCOMMENT*/
+        /*transport level identified soap version does not match with the soap version*/
         AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP,
-        /*TODO ADDCOMMENT*/
+        /*unsupported element in soap fault element*/
         AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT,
-        /*TODO ADDCOMMENT*/
+        /*wrong element order encounterd*/
         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
        /*
         * Group - services

Modified: webservices/axis2/trunk/c/modules/util/error.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/error.c?rev=399981&r1=399980&r2=399981&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/error.c (original)
+++ webservices/axis2/trunk/c/modules/util/error.c Thu May  4 23:09:43 2006
@@ -349,21 +349,21 @@
     axis2_error_messages[AXIS2_ERROR_INVALID_SOAP_VERSION] = 
         "Invalid SOAP version";
     axis2_error_messages[AXIS2_ERROR_INVALID_VALUE_FOUND_IN_MUST_UNDERSTAND] = 
-        "AXIS2_ERROR_INVALID_VALUE_FOUND_IN_MUST_UNDERSTAND";
+        "invalid value found in must understand";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED] = 
-        "AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED";
+        "multiple  fault code elements encountered in soap fault";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED] = 
-        "AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED";
+        "multiple fault detail elements encountered in soap fault";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED] =
-        "AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED";
+        "multiple fault node elements encountered in soap fault";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED] = 
-        "AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED";
+        "multiple fault reason elements encountered in soap fault";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED] = 
-        "AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED";
+        "multiple fault role elements encountered in soap fault ";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED] = 
-        "AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED";
+        "multiple fault subcode value elements encountered";
     axis2_error_messages[AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT] = 
-        "AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT";
+        "multiple fault value elements encounterd";
     axis2_error_messages[AXIS2_ERROR_MUST_UNDERSTAND_SHOULD_BE_1_0_TRUE_FALSE] = 
         "must understatnd attribute should have values of true or false";
     axis2_error_messages[AXIS2_ERROR_OM_ELEMENT_EXPECTED] = 
@@ -389,25 +389,25 @@
     axis2_error_messages[AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT] = 
         "AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT";
     axis2_error_messages[AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT] = 
-        "AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT";
+        "soap fault role element should have a text value";
     axis2_error_messages[AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE]
= 
-        "AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE";
+        "soap fault value should be present before subcode element in soap fault code";
     axis2_error_messages[AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE] = 
-        "AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE";
+        "soap message does not contain a soap envelope element";
     axis2_error_messages[AXIS2_ERROR_SOAP_MESSAGE_FIRST_ELEMENT_MUST_CONTAIN_LOCAL_NAME]
= 
-        "AXIS2_ERROR_SOAP_MESSAGE_FIRST_ELEMENT_MUST_CONTAIN_LOCAL_NAME";
+        "soap messgae first element should have a localname";
     axis2_error_messages[AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT]
= 
-        "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT";
+        "localname not supported inside a reason element";
     axis2_error_messages[AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT]
= 
-        "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT";
+        "localname not supported inside the subcode element";
     axis2_error_messages[AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT]
= 
-        "AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT";
+        "localname not supported inside the code element";
     axis2_error_messages[AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP]
= 
-        "AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP";
+        "transport identified soap version does not match with soap message version ";
     axis2_error_messages[AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT] = 
-        "AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT";
+        "unsupported element found in soap fault element";
     axis2_error_messages[AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED] = 
-        "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED";
+        "wrong element order encountered ";
     axis2_error_messages[AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST] =
         "Invalid XML format in request";
     axis2_error_messages[AXIS2_ERROR_SVC_SKEL_INPUT_OM_NODE_NULL] =



Mime
View raw message