[wsf-c-dev] svn commit r213 - wsf/php/src
svn at wso2.com
svn at wso2.com
Tue Dec 12 05:20:18 PST 2006
Author: buddhika
Date: Tue Dec 12 05:20:17 2006
New Revision: 213
Modified:
wsf/php/src/wsf.c
Log:
removing the hard coded path for wsdl generation
Modified: wsf/php/src/wsf.c
==============================================================================
--- wsf/php/src/wsf.c (original)
+++ wsf/php/src/wsf.c Tue Dec 12 05:20:17 2006
@@ -3717,8 +3717,12 @@
zval *f_val;
zend_file_handle script;
php_stream *stream = NULL;
+ char *location = NULL;
+ char resolved_path[MAXPATHLEN];
+
/** wsdl generation stuff */
+ location = VCWD_GETCWD(resolved_path, MAXPATHLEN);
svc_string = svc_info->svc_name;
params[0] = ¶m1;
@@ -3748,14 +3752,14 @@
add_next_index_string(f_val, (char *)f_name, 1);
}
}
- ZVAL_STRING(&func, "call_reflection_stuff", 0);
- ZVAL_STRING(params[0], "/home/buddhika/php/ext/wsf/scripts/WsdlGenerator.php", 0);
+ ZVAL_STRING(&func, "ws_generate_wsdl", 0);
+ ZVAL_STRING(params[0], "wsdlgen/WS_WsdlCreater.php", 0);
ZVAL_STRING(params[1], service_name, 0);
ZVAL_ZVAL(params[2], f_val, NULL, NULL);
INIT_PZVAL(params[2]);
script.type = ZEND_HANDLE_FP;
- script.filename = "/home/buddhika/php/ext/wsf/scripts/wsdl_script.php";
+ script.filename = "wsdlgen/WS_WsdlScript.php";
script.opened_path = NULL;
script.free_filename = 0;
More information about the Wsf-c-dev
mailing list