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/12 02:15:01 UTC

svn commit: r377101 - in /webservices/axis2/trunk/c: include/axis2_addr.h modules/core/deployment/svc_builder.c modules/core/description/op.c

Author: samisa
Date: Sat Feb 11 17:14:58 2006
New Revision: 377101

URL: http://svn.apache.org/viewcvs?rev=377101&view=rev
Log:
Some more fixes to get Addressing working.
Basically there was a bug in getting the wsa action mapping from service xml

Modified:
    webservices/axis2/trunk/c/include/axis2_addr.h
    webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
    webservices/axis2/trunk/c/modules/core/description/op.c

Modified: webservices/axis2/trunk/c/include/axis2_addr.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_addr.h?rev=377101&r1=377100&r2=377101&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_addr.h (original)
+++ webservices/axis2/trunk/c/include/axis2_addr.h Sat Feb 11 17:14:58 2006
@@ -37,6 +37,7 @@
     #define AXIS2_WSA_REPLY_TO "ReplyTo"
     #define AXIS2_WSA_FAULT_TO "FaultTo"
     #define AXIS2_WSA_ACTION "Action"
+    #define AXIS2_WSA_MAPPING "wsamapping"
 
     /* ====================== Common EPR Elements ============================*/
     #define EPR_ADDRESS "Address"

Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c?rev=377101&r1=377100&r2=377101&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c Sat Feb 11 17:14:58 2006
@@ -490,7 +490,7 @@
             
             param = AXIS2_ARRAY_LIST_GET(params, env, j);
             param_name = AXIS2_PARAM_GET_NAME(param, env);
-            if(0 == AXIS2_STRCMP(param_name, AXIS2_WSA_ACTION))
+            if(0 == AXIS2_STRCMP(param_name, AXIS2_WSA_MAPPING))
             {
                 axis2_char_t *key = NULL;
                 

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=377101&r1=377100&r2=377101&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Sat Feb 11 17:14:58 2006
@@ -834,11 +834,13 @@
     AXIS2_PARAM_CHECK((*env)->error, op->param_container, 
         AXIS2_FALSE);
 	
-    param_container_l = (axis2_param_container_t *) 
+    /*param_container_l = (axis2_param_container_t *) 
         AXIS2_WSDL_COMPONENT_GET_COMPONENT_PROPERTY(op->wsdl_op->
             extensible_component->wsdl_component, env, (axis2_char_t *) 
                 AXIS2_PARAMETER_KEY);
-	return AXIS2_PARAM_CONTAINER_GET_PARAMS(param_container_l, env);
+	return AXIS2_PARAM_CONTAINER_GET_PARAMS(param_container_l, env);*/
+   
+    return AXIS2_PARAM_CONTAINER_GET_PARAMS(op->param_container, env);
 }
 
 axis2_bool_t AXIS2_CALL