axis-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r912505 - /axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c
Date Mon, 22 Feb 2010 07:54:33 GMT
Author: nandika
Date: Mon Feb 22 07:54:33 2010
New Revision: 912505

URL: http://svn.apache.org/viewvc?rev=912505&view=rev
Log:
raw_xml_in_out_msg_recv.c mep issue corrected

Modified:
    axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c

Modified: axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c?rev=912505&r1=912504&r2=912505&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ axis/axis2/c/core/trunk/src/core/receivers/raw_xml_in_out_msg_recv.c Mon Feb 22 07:54:33
2010
@@ -237,7 +237,7 @@
         {
             axis2_char_t *mep = (axis2_char_t *)axis2_op_get_msg_exchange_pattern(op_desc,
env);
             if(axutil_strcmp(mep, AXIS2_MEP_URI_IN_ONLY) && axutil_strcmp(mep,
-                AXIS2_MEP_URI_ROBUST_IN_ONLY))
+				AXIS2_MEP_URI_ROBUST_IN_ONLY) && axutil_strcmp(mep, AXIS2_MEP_URI_IN_ONLY_WSDL2)
&&						axutil_strcmp(mep, AXIS2_MEP_URI_ROBUST_IN_ONLY_WSDL2))
             {
                 status = AXIS2_ERROR_GET_STATUS_CODE(env->error);
                 if(status == AXIS2_SUCCESS)
@@ -273,7 +273,8 @@
                 {
                     axis2_msg_ctx_set_status_code(msg_ctx, env, axis2_msg_ctx_get_status_code(
                         new_msg_ctx, env));
-                    if(!axutil_strcmp(mep, AXIS2_MEP_URI_ROBUST_IN_ONLY))
+					if((!axutil_strcmp(mep, AXIS2_MEP_URI_ROBUST_IN_ONLY)) || 
+						(!axutil_strcmp(mep, AXIS2_MEP_URI_ROBUST_IN_ONLY_WSDL2)))
                     {
                         /* The new_msg_ctx is passed to the service. The status code must
                          * be taken from here and set to the old message context which is



Mime
View raw message