You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2008/08/13 05:48:51 UTC

svn commit: r685429 - in /webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples: rm_echo_1_0/rm_echo.c rm_echo_1_0_large_sequence/rm_echo.c

Author: damitha
Date: Tue Aug 12 20:48:50 2008
New Revision: 685429

URL: http://svn.apache.org/viewvc?rev=685429&view=rev
Log: (empty)

Modified:
    webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0/rm_echo.c
    webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0_large_sequence/rm_echo.c

Modified: webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0/rm_echo.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0/rm_echo.c?rev=685429&r1=685428&r2=685429&view=diff
==============================================================================
--- webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0/rm_echo.c (original)
+++ webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0/rm_echo.c Tue Aug 12 20:48:50 2008
@@ -67,6 +67,7 @@
     axutil_property_t *property = NULL;
     axutil_string_t *soap_action = NULL;
     axis2_char_t *seq_key = NULL;
+    axis2_char_t *offered_seq_id = NULL;
     int c;
     int i = 0;
    
@@ -148,7 +149,7 @@
     axis2_options_set_soap_version(options, env, AXIOM_SOAP11);
 
     /* Offer sequence */
-    axis2_char_t *offered_seq_id = axutil_uuid_gen(env);
+    offered_seq_id = axutil_uuid_gen(env);
     property = axutil_property_create(env);
     if(property)
     {

Modified: webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0_large_sequence/rm_echo.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0_large_sequence/rm_echo.c?rev=685429&r1=685428&r2=685429&view=diff
==============================================================================
--- webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0_large_sequence/rm_echo.c (original)
+++ webservices/sandesha/tags/sandesha2/c/worker_thread_removed-23may2008/samples/rm_echo_1_0_large_sequence/rm_echo.c Tue Aug 12 20:48:50 2008
@@ -67,6 +67,7 @@
     axutil_property_t *property = NULL;
     axutil_string_t *soap_action = NULL;
     axis2_char_t *seq_key = NULL;
+    axis2_char_t *offered_seq_id = NULL;
     int c;
     int i = 0;
    
@@ -146,6 +147,18 @@
         return -1;
     }
     axis2_options_set_soap_version(options, env, AXIOM_SOAP11);
+
+    /* Offer sequence */
+    offered_seq_id = axutil_uuid_gen(env);
+    property = axutil_property_create(env);
+    if(property)
+    {
+        axutil_property_set_value(property, env, axutil_strdup(env, 
+            offered_seq_id));
+        axis2_options_set_property(options, env, 
+            SANDESHA2_CLIENT_OFFERED_SEQ_ID, property);
+    }
+
     /* RM Version 1.0 */
     property = axutil_property_create_with_args(env, 3, 0, 0, 
         SANDESHA2_SPEC_VERSION_1_0);



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