INSTALL.txt
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
KnowledgeTree WebServices
=========================
Dependencies
------------
This is dependant on:
1) KTAPI
2) libcurl
3) PEAR:SOAP
Installation
------------
Assuming that <ktroot> denotes the base directory where KnowledgeTree is installed,
the following structure is expected:
<ktroot>/ktapi - location of KT API
<ktroot>/ktwebservice - location of KT Web Service
<ktroot>/var/uploads - location of uploads
Installing libcurl
------------------
Curl and libcurl are available from http://curl.haxx.se/ and http://curl.haxx.se/libcurl/ respectively.
You may need to edit your php.ini file. You may require to add something like:
extension=php_curl.dll
Installing PEAR::SOAP
---------------------
We assume PEAR::SOAP will be available in the <ktroot>/thirdparty/pear/SOAP directory.
Please review http://pear.php.net/ on the installation procedure if a newer version is required.
Configuration
-------------
The following can be configured in the configuration file (config.ini):
[webservices]
; the upload directory
uploadDirectory = ${varDirectory}/uploads
; this is the location for downloads from calls to web services
downloadUrl = ${rootUrl}/ktwebservice/download.php
; Files must be uploaded before they can be interacted with
uploadExpiry = 30
; The Web Service download request just makes a file temporarily available. If it is not downloaded in the time frame below, it will not be available.
downloadExpiry = 30
; It is recommended that the administrator add some random text here. This will prevent different installations generating hashes in the same manner.
randomKeyText = bkdfjhg23yskjdhf2iu
Using Web Services
------------------
The WSDL for the KnowledgeTree Web Service can be referenced as follows:
http://ktdms.trunk/ktwebservice/?wsdl
or
http://ktdms.trunk/ktwebservice/webservice.php?wsdl
The KTWS API package provides an object oriented wrapping of the web service functionality.