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 sa...@apache.org on 2006/02/08 06:25:50 UTC

svn commit: r375858 - in /webservices/axis2/trunk/c/modules/core/description: op.c svc.c

Author: samisa
Date: Tue Feb  7 21:25:48 2006
New Revision: 375858

URL: http://svn.apache.org/viewcvs?rev=375858&view=rev
Log:
More fixes to get addressing working

Modified:
    webservices/axis2/trunk/c/modules/core/description/op.c
    webservices/axis2/trunk/c/modules/core/description/svc.c

Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/op.c?rev=375858&r1=375857&r2=375858&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Tue Feb  7 21:25:48 2006
@@ -1012,10 +1012,12 @@
             extensible_component->wsdl_component, env, AXIS2_MODULEREF_KEY);
     
     size = AXIS2_ARRAY_LIST_SIZE(collection_module, env);
+    
     if(AXIS2_SUCCESS != AXIS2_ERROR_GET_STATUS_CODE((*env)->error))
     {
         return AXIS2_ERROR_GET_STATUS_CODE((*env)->error);
     }
+
     for(index = 0; index < size; index++)
     {
         module_desc = (axis2_module_desc_t *) AXIS2_ARRAY_LIST_GET(

Modified: webservices/axis2/trunk/c/modules/core/description/svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/svc.c?rev=375858&r1=375857&r2=375858&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/svc.c Tue Feb  7 21:25:48 2006
@@ -1039,10 +1039,12 @@
     }
     
     size = AXIS2_ARRAY_LIST_SIZE(collection_module, env);
-    if(AXIS2_TRUE != size)
+    
+    if(AXIS2_SUCCESS != AXIS2_ERROR_GET_STATUS_CODE((*env)->error))
     {
-        return AXIS2_FAILURE;
+        return AXIS2_ERROR_GET_STATUS_CODE((*env)->error);
     }
+    
     for(i = 0; i < size; i++)
     {
         module_desc = (axis2_module_desc_t *) AXIS2_ARRAY_LIST_GET(