You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/03/20 07:32:13 UTC

svn commit: r387151 - in /webservices/axis2/trunk/c: include/axis2_error.h modules/util/error.c

Author: damitha
Date: Sun Mar 19 22:32:11 2006
New Revision: 387151

URL: http://svn.apache.org/viewcvs?rev=387151&view=rev
Log:
Added new error code

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=387151&r1=387150&r2=387151&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_error.h (original)
+++ webservices/axis2/trunk/c/include/axis2_error.h Sun Mar 19 22:32:11 2006
@@ -417,6 +417,8 @@
         AXIS2_ERROR_WSDL_SVC_NAME_IS_REQUIRED,
         /*Content-Type header missing in HTTP response" */
         AXIS2_ERROR_RESPONSE_CONTENT_TYPE_MISSING,
+        /* Wsdl parsing has resulted in an invalid state */
+        AXIS2_ERROR_WSDL_PARSER_INVALID_STATE,
 
         /** The following has to be the last error value all the time.
             All other error codes should appear above this.

Modified: webservices/axis2/trunk/c/modules/util/error.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/error.c?rev=387151&r1=387150&r2=387151&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/error.c (original)
+++ webservices/axis2/trunk/c/modules/util/error.c Sun Mar 19 22:32:11 2006
@@ -421,6 +421,8 @@
         " Wsdl svc name cannot be null(Required)";
     axis2_error_messages[AXIS2_ERROR_RESPONSE_CONTENT_TYPE_MISSING] =
     "Content-Type header missing in HTTP response";
+    axis2_error_messages[AXIS2_ERROR_WSDL_PARSER_INVALID_STATE] =
+    "Wsdl parsing has resulted in an invalid state";
 
     return AXIS2_SUCCESS;
 }