ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r373694 - in /webservices/axis2/trunk/c: modules/core/deployment/axis2_deployment.h modules/core/deployment/dep_engine.c test/client/echo/echo_client.c
Date Tue, 31 Jan 2006 04:07:56 GMT
Author: damitha
Date: Mon Jan 30 20:07:46 2006
New Revision: 373694

URL: http://svn.apache.org/viewcvs?rev=373694&view=rev
Log:
made some changes to echo_client to get client repos
path correctly

Modified:
    webservices/axis2/trunk/c/modules/core/deployment/axis2_deployment.h
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
    webservices/axis2/trunk/c/test/client/echo/echo_client.c

Modified: webservices/axis2/trunk/c/modules/core/deployment/axis2_deployment.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/axis2_deployment.h?rev=373694&r1=373693&r2=373694&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/axis2_deployment.h (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/axis2_deployment.h Mon Jan 30 20:07:46
2006
@@ -120,7 +120,6 @@
 #define AXIS2_SVC_GRP_ELEMENT "serviceGroup"
 
 #define AXIS2_SERVER_XML_FILE "axis2.xml"
-#define AXIS2_CLIENT_XML_FILE "axis2_client.xml"
 
 #define AXIS2_MODULE_FOLDER "modules"
 #define AXIS2_SERVICE_FOLDER "services"

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=373694&r1=373693&r2=373694&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Mon Jan 30 20:07:46 2006
@@ -848,7 +848,7 @@
         return AXIS2_FAILURE;
     }
     path_l = AXIS2_STRACAT(client_home, AXIS2_PATH_SEP_STR, env);
-    engine_impl->conf_name = AXIS2_STRACAT(path_l,AXIS2_CLIENT_XML_FILE, env);
+    engine_impl->conf_name = AXIS2_STRACAT(path_l,AXIS2_SERVER_XML_FILE, env);
     AXIS2_FREE((*env)->allocator, path_l);
     if(!engine_impl->conf_name)
     {

Modified: webservices/axis2/trunk/c/test/client/echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/client/echo/echo_client.c?rev=373694&r1=373693&r2=373694&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/client/echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/test/client/echo/echo_client.c Mon Jan 30 20:07:46 2006
@@ -37,13 +37,20 @@
     axis2_endpoint_ref_t *epr = NULL;
     axis2_char_t *address = NULL;
     axis2_char_t *client_home = NULL;
+    axis2_char_t *temp_path1 = NULL;
+    axis2_char_t *temp_path2 = NULL;
     
-    client_home = AXIS2_GETENV("AXIS2C_HOME");
     allocator = axis2_allocator_init (NULL);
     error = axis2_error_create(allocator);
     log = axis2_log_create(allocator, NULL);
     env = axis2_env_create_with_error_log(allocator, error, log);
     env->log->level = AXIS2_LOG_LEVEL_INFO;
+
+    temp_path1 = AXIS2_GETENV("AXIS2C_HOME");
+    temp_path2 = AXIS2_STRACAT(temp_path1, AXIS2_PATH_SEP_STR, &env);
+    client_home = AXIS2_STRACAT(temp_path2, "client_repository", &env);
+    AXIS2_FREE((env)->allocator, temp_path1);
+    AXIS2_FREE((env)->allocator, temp_path2);
 
     envelope = build_soap_programatically(&env);
     node = AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(envelope, &env);



Mime
View raw message