axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r383496 - in /webservices/axis2/trunk/c/modules/xml/soap: soap12_builder_helper.c soap_body.c
Date Mon, 06 Mar 2006 08:41:07 GMT
Author: nandika
Date: Mon Mar  6 00:41:05 2006
New Revision: 383496

URL: http://svn.apache.org/viewcvs?rev=383496&view=rev
Log:
log_write removed

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c?rev=383496&r1=383495&r2=383496&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c Mon Mar  6 00:41:05
2006
@@ -187,8 +187,7 @@
             if(builder_helper_impl->code_present)
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED,
AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_LEVEL_DEBUG);
-                
+               
                 return AXIS2_FAILURE;
             }else
             {
@@ -215,7 +214,6 @@
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
                             
-                       AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED",AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;
                     }
                     else
@@ -236,8 +234,7 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_LEVEL_DEBUG);
-                    return AXIS2_FAILURE;                        
+                         return AXIS2_FAILURE;                        
                 }
             }
             else 
@@ -246,14 +243,12 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                            
                 }
                 else
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
-                     AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",
AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                
                 }
             }
@@ -270,7 +265,6 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED",AXIS2_LOG_LEVEL_CRITICAL);
                         return AXIS2_FAILURE;
                     }
                     else
@@ -288,8 +282,7 @@
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FALSE);
                     
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_LEVEL_CRITICAL);
-
+                   
                     return AXIS2_FAILURE;                
                 }
             }
@@ -311,7 +304,7 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_LEVEL_DEBUG);                                                    
+                                  
                         return AXIS2_FAILURE;
                     }
                     else
@@ -328,8 +321,6 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",
-                            AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                        
                 }
             }
@@ -337,7 +328,6 @@
             {
                 
                 AXIS2_ERROR_SET((*env)->error,  AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT,
AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT",
AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             }
         }
@@ -351,8 +341,6 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED",
-                            AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;                                           

                     }
                     else
@@ -369,8 +357,6 @@
                 else
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",
-                        AXIS2_LOG_LEVEL_DEBUG);
                     
                     return AXIS2_FAILURE;
                     
@@ -380,8 +366,6 @@
             {
                 AXIS2_ERROR_SET((*env)->error, 
                     AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT, AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT",
-                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;                    
             }
             
@@ -390,8 +374,6 @@
         {
             AXIS2_ERROR_SET((*env)->error, 
                 AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT, AXIS2_FAILURE);
-            AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT",
-                AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
         }
     }
@@ -426,8 +408,6 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT, AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT",
-                        AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                        
                 }            
             }
@@ -457,16 +437,12 @@
                     {
                         AXIS2_ERROR_SET((*env)->error,
                             AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE",
-                            AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;                                           
                
                     }
                 }
                 else 
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED",
-                        AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                    
                 }            
             }
@@ -474,8 +450,6 @@
             {
                 AXIS2_ERROR_SET((*env)->error, 
                     AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT, AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT",
-                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;                    
             }
         }
@@ -500,8 +474,6 @@
             else
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT,
AXIS2_FAILURE);   
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT",
-                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             }
             
@@ -518,9 +490,7 @@
         }
         else
         {
-            axis2_char_t error_msg[200];
-            sprintf(error_msg,"%s should not nave a child element",parent_localname);
-            AXIS2_LOG_WRITE((*env)->log, error_msg, AXIS2_LOG_LEVEL_DEBUG);
+            
             return AXIS2_FAILURE;
         }
                 
@@ -582,16 +552,14 @@
                     else
                     {
                         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED",
-                            AXIS2_LOG_LEVEL_DEBUG);
+                      
                         return AXIS2_FAILURE;                                           
            
                     }
                 }
                 else
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE",
-                        AXIS2_LOG_LEVEL_DEBUG);
+                   
                     return AXIS2_FAILURE;
                 
                 }
@@ -599,8 +567,7 @@
             else
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT,
AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT",
-                    AXIS2_LOG_LEVEL_DEBUG);
+               
                 return AXIS2_FAILURE;
             } 
         }
@@ -625,9 +592,7 @@
             }
             else
             {
-                axis2_char_t error_msg[200];
-                sprintf(error_msg,"%s should not have child at element level  %d",parent_localname,
element_level);
-                AXIS2_LOG_WRITE((*env)->log,error_msg, AXIS2_LOG_LEVEL_DEBUG);
+              
                 return AXIS2_FAILURE;
             }
         }

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_body.c?rev=383496&r1=383495&r2=383496&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Mon Mar  6 00:41:05 2006
@@ -420,8 +420,6 @@
     {
         AXIS2_ERROR_SET((*env)->error, 
             AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY, AXIS2_FAILURE);
-        AXIS2_LOG_WRITE((*env)->log, 
-            "AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY", AXIS2_LOG_LEVEL_DEBUG);
         return AXIS2_FAILURE;
     }
     body_impl->soap_fault = soap_fault;



Mime
View raw message