Author: damitha
Date: Tue Feb  5 04:20:46 2008
New Revision: 618622

URL: http://svn.apache.org/viewvc?rev=618622&view=rev
Log:
Fixing for windows

Modified:
    webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c
    webservices/sandesha/trunk/c/src/util/msg_creator.c

Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c?rev=618622&r1=618621&r2=618622&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c Tue Feb  5 
04:20:46 2008
@@ -24,7 +24,7 @@
 #include <sandesha2_client.h>
 #include <ctype.h>
 
-#define MAX_COUNT 8
+#define MAX_COUNT 4
 
 axiom_node_t *
 build_om_programatically(
@@ -159,7 +159,7 @@
      /** Wait till callback is complete. Simply keep the parent thread running
        until our on_complete or on_error is invoked */
 
-    AXIS2_SLEEP(MAX_COUNT);
+    AXIS2_SLEEP(8 * MAX_COUNT);
    
     if (svc_client)
     {

Modified: webservices/sandesha/trunk/c/src/util/msg_creator.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/msg_creator.c?rev=618622&r1=618621&r2=618622&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/msg_creator.c (original)
+++ webservices/sandesha/trunk/c/src/util/msg_creator.c Tue Feb  5 04:20:46 2008
@@ -347,9 +347,15 @@
     }
     rm_ns_value = sandesha2_spec_specific_consts_get_rm_ns_val(env, 
rm_version);
     addressing_ns_value = sandesha2_utils_get_seq_property(env, new_seq_id, 
-            SANDESHA2_SEQ_PROP_ADDRESSING_NAMESPACE_VALUE, seq_prop_mgr);
+        SANDESHA2_SEQ_PROP_ADDRESSING_NAMESPACE_VALUE, seq_prop_mgr);
+    if(!addressing_ns_value)
+    {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "Cannot find addressing namespace value");
+        return NULL;
+    }
     create_seq_res = sandesha2_create_seq_res_create(env, rm_ns_value, 
-            addressing_ns_value);
+        addressing_ns_value);
     identifier = sandesha2_identifier_create(env, rm_ns_value);
     sandesha2_identifier_set_identifier(identifier, env, new_seq_id);
     sandesha2_create_seq_res_set_identifier(create_seq_res, env, identifier);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to