Author: sahan
Date: Tue Jul 3 01:11:33 2007
New Revision: 552706
URL: http://svn.apache.org/viewvc?view=rev&rev=552706
Log:
Setting valid epr in samples
Modified:
webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c
webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
webservices/sandesha/trunk/c/samples/rm_ping_1_1/rm_ping_1_1.c
Modified: webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c?view=diff&rev=552706&r1=552705&r2=552706
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_1_0/rm_echo.c Tue Jul 3
01:11:33 2007
@@ -107,17 +107,13 @@
printf ("Using endpoint : %s\n", address);
/* Create EPR with given address */
- target_epr = axis2_endpoint_ref_create(env, address);
+ endpoint_ref = axis2_endpoint_ref_create(env, address);
/* Setup options */
options = axis2_options_create(env);
if(endpoint_ref)
axis2_options_set_to(options, env, endpoint_ref);
- if(target_epr)
- {
- property = axutil_property_create_with_args(env, 0, 0, 0, target_epr);
- axis2_options_set_property(options, env, AXIS2_TARGET_EPR, property);
- }
+
axis2_options_set_use_separate_listener(options, env, AXIS2_TRUE);
/* Separate listner needs addressing, hence addressing stuff in options */
Modified: webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c?view=diff&rev=552706&r1=552705&r2=552706
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_ping_1_0/rm_ping_1_0.c Tue Jul 3
01:11:33 2007
@@ -79,17 +79,12 @@
printf ("Using endpoint : %s\n", address);
/* Create EPR with given address */
- target_epr = axis2_endpoint_ref_create(env, address);
+ endpoint_ref = axis2_endpoint_ref_create(env, address);
/* Setup options */
options = axis2_options_create(env);
if(endpoint_ref)
axis2_options_set_to(options, env, endpoint_ref);
- if(target_epr)
- {
- property = axutil_property_create_with_args(env, 0, 0, 0, target_epr);
- axis2_options_set_property(options, env, AXIS2_TARGET_EPR, property);
- }
/*axis2_options_set_action(options, env, "urn:wsrm:Ping");*/
/* Set up deploy folder. It is from the deploy folder, the configuration
is
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?view=diff&rev=552706&r1=552705&r2=552706
==============================================================================
--- 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 Jul 3
01:11:33 2007
@@ -83,17 +83,12 @@
printf ("Using endpoint : %s\n", address);
/* Create EPR with given address */
- target_epr = axis2_endpoint_ref_create(env, address);
+ endpoint_ref = axis2_endpoint_ref_create(env, address);
/* Setup options */
options = axis2_options_create(env);
if(endpoint_ref)
axis2_options_set_to(options, env, endpoint_ref);
- if(target_epr)
- {
- property = axutil_property_create_with_args(env, 0, 0, 0,
(void*)target_epr);
- axis2_options_set_property(options, env, AXIS2_TARGET_EPR, property);
- }
/*axis2_options_set_action(options, env, "urn:wsrm:Ping");*/
/* Set up deploy folder. It is from the deploy folder, the configuration
is
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]