axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r383277 - /webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
Date Sun, 05 Mar 2006 04:07:31 GMT
Author: samisa
Date: Sat Mar  4 20:07:30 2006
New Revision: 383277

URL: http://svn.apache.org/viewcvs?rev=383277&view=rev
Log:
Fixed the LOG macros

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c?rev=383277&r1=383276&r2=383277&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c Sat Mar  4 20:07:30 2006
@@ -611,7 +611,7 @@
                 (AXIS2_STRCMP(ns_uri, AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI) != 0))
         {
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI, AXIS2_FAILURE);
               
-            AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI", AXIS2_LOG_LEVEL_DEBUG);
+            AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI");
             return AXIS2_FAILURE;
         }
     }        
@@ -638,8 +638,7 @@
     {
         AXIS2_ERROR_SET((*env)->error, 
             AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE, AXIS2_FAILURE);
-        AXIS2_LOG_WRITE((*env)->log, " soap message does not have a soap envelope element
",
-            AXIS2_LOG_LEVEL_CRITICAL);        
+        AXIS2_LOG_CRITICAL((*env)->log, AXIS2_LOG_SI, "SOAP message does not have a SOAP
envelope element ");        
         return AXIS2_FAILURE;
     }
     envelope_node = AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(builder_impl->soap_envelope, env);
@@ -653,14 +652,13 @@
        if(soap_version_uri_from_transport && AXIS2_STRCMP(soap_version_uri_from_transport,
ns_uri) != 0)
         {
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP,
AXIS2_FAILURE);
-            AXIS2_LOG_WRITE((*env)->log , "AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP",
-                AXIS2_LOG_LEVEL_ERROR);            
+            AXIS2_LOG_ERROR((*env)->log , AXIS2_LOG_SI, "AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP");
           
             return AXIS2_FAILURE;
         }            
         if(AXIS2_STRCMP(AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI, ns_uri) == 0)
         {
             builder_impl->soap_version = AXIS2_SOAP11;        
-            AXIS2_LOG_WRITE((*env)->log,"Identified soap version is soap11", AXIS2_LOG_LEVEL_DEBUG);
+            AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "Identified soap version is soap11");
         }
         else if(AXIS2_STRCMP(AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI, ns_uri) == 0)
         {



Mime
View raw message