You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/02/22 05:14:44 UTC

svn commit: r510382 - in /webservices/axis2/trunk/c: modules/core/description/op.c samples/server/notify/services.xml

Author: samisa
Date: Wed Feb 21 20:14:43 2007
New Revision: 510382

URL: http://svn.apache.org/viewvc?view=rev&rev=510382
Log:
Fixed the MEP logic bug

Modified:
    webservices/axis2/trunk/c/modules/core/description/op.c
    webservices/axis2/trunk/c/samples/server/notify/services.xml

Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/op.c?view=diff&rev=510382&r1=510381&r2=510382
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Wed Feb 21 20:14:43 2007
@@ -993,42 +993,42 @@
     temp = AXIS2_MEP_CONSTANT_INVALID;
 
     if (AXIS2_STRCMP(AXIS2_MEP_URI_IN_OUT,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_IN_OUT;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_IN_ONLY,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_IN_ONLY;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_IN_OPTIONAL_OUT,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_IN_OPTIONAL_OUT;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_OUT_IN,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_OUT_IN;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_OUT_ONLY,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_OUT_ONLY;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_OUT_OPTIONAL_IN,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_OUT_OPTIONAL_IN;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_ROBUST_IN_ONLY,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_ROBUST_IN_ONLY;
     }
     else if (AXIS2_STRCMP(AXIS2_MEP_URI_ROBUST_OUT_ONLY,
-            axis2_op_get_msg_exchange_pattern(op, env)))
+            axis2_op_get_msg_exchange_pattern(op, env)) == 0)
     {
         temp = AXIS2_MEP_CONSTANT_ROBUST_OUT_ONLY;
     }

Modified: webservices/axis2/trunk/c/samples/server/notify/services.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/notify/services.xml?view=diff&rev=510382&r1=510381&r2=510382
==============================================================================
--- webservices/axis2/trunk/c/samples/server/notify/services.xml (original)
+++ webservices/axis2/trunk/c/samples/server/notify/services.xml Wed Feb 21 20:14:43 2007
@@ -5,7 +5,7 @@
         This is a testing service , to test one way service support
    </description>
 
-    <operation name="notify">
+    <operation name="notify" mep="http://www.w3.org/2004/08/wsdl/in-only">
             <!--messageReceiver class="axis2_receivers" /-->
             <parameter name="wsamapping" >http://example.org/action/notify</parameter>
     </operation>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org