Commit Graph

98 Commits

Author SHA1 Message Date
Dmitry Stogov
68906dbe62 Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache.
Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/SoapServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH))
Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl".
Configuration directive "soap.wsdl_cache_limit" restricts the number of cached wsdl files in memory. Adding new files into full memory cache will delete oldest files from it.
Note that, each PHP process or thread uses it's own memory cache.
2006-04-19 10:48:54 +00:00
Dmitry Stogov
349bcd7443 Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry) 2006-04-18 13:07:59 +00:00
Andrei Zmievski
cfaf6406d7 Some encodings were assumed to be default and, thus, were not made
persistent.
2006-04-17 16:08:08 +00:00
Dmitry Stogov
7330c32329 Fixed several bugs in new "caching WSDL in memory" code
Re-enabled disk cache
2006-04-17 13:16:02 +00:00
Dmitry Stogov
c261351a97 ZTS fix 2006-04-10 10:11:06 +00:00
Andrei Zmievski
06ef71fe3d Speed up SoapClient/SoapServer constructors by caching WSDL structures
in memory. All WSDL files will be cached, unless turned off via an
option to the constructor.
2006-04-09 23:35:51 +00:00
Antony Dovgal
bccf4bd9e7 MFH: initialize variables and reduce the number of warnings 2006-02-06 11:28:41 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Dmitry Stogov
eef44c609b Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:29:15 +00:00
Dmitry Stogov
13af4c9a09 Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails) 2005-11-28 10:08:34 +00:00
Dmitry Stogov
8b4e1abdb0 Fixed bug #35273 (Error in mapping soap - java types) 2005-11-18 11:00:15 +00:00
Dmitry Stogov
a0dd931d85 Fixed bug #34950 (Unable to get WSDL through proxy) 2005-10-24 07:44:17 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Dmitry Stogov
c9571d7786 Fixed ZTS build 2005-08-02 11:15:42 +00:00
Dmitry Stogov
e07d2f4803 "_local_cert" and "_passphrase" properties moved into "_stream_context".
As a result now it is possible to use certificates during access WSDL files.
2005-07-20 10:21:49 +00:00
Dmitry Stogov
76a447c900 Fixed HTTP basic authentication headers during subrequsts to xsd files 2005-07-08 09:36:28 +00:00
Dmitry Stogov
b41a7ad18a Fixed bug #32941 (Sending structured SOAP fault kills a php) 2005-06-01 14:43:13 +00:00
Dmitry Stogov
72b5173ac3 Fixed WSDL cache bug 2005-04-29 05:38:54 +00:00
Dmitry Stogov
7288226dba Support for element's form and schema's elementFormDefault attributes (qualified/unqualified) 2005-04-20 08:30:43 +00:00
Dmitry Stogov
8dff99116d Fixed wrong SOAP headers encoding/decoding. 2005-03-28 15:21:50 +00:00
Dmitry Stogov
756c5784c1 Support for <soap:body> "parts" attribute 2005-03-21 15:52:53 +00:00
foobar
2d521a73c8 Revert bad fix 2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
effa111c5e Fix Jani breakage 2005-03-16 22:00:07 +00:00
Dmitry Stogov
fea1b5b3a0 Fixed SIGSEGV when restoring WSDL without functions from cache 2005-01-31 15:08:24 +00:00
Dmitry Stogov
9c5661f05d Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob) 2004-11-09 08:13:35 +00:00
Marcus Boerger
ace462334e Fix TSRM build 2004-09-26 21:45:17 +00:00
Dmitry Stogov
b027850ba4 Fixed bug #30182 (SOAP module processing WSDL file dumps core). 2004-09-22 05:58:40 +00:00
Dmitry Stogov
0384e2ae27 Fixed bug #29839 (incorrect convert (xml:lang to lang)) 2004-08-26 18:43:06 +00:00
Dmitry Stogov
dedab09c32 Fixed bug #29839 (incorrect convert (xml:lang to lang)) 2004-08-26 18:40:10 +00:00
Dmitry Stogov
71b7a54377 Fixed bugs #29109 and #29236. (WSDL cache failure) 2004-07-19 13:58:10 +00:00
Ilia Alshanetsky
7f7f566318 Eliminate alloca() calls where they can be affected by the users. 2004-07-05 21:31:35 +00:00
Dmitry Stogov
7bddbd7bd0 php_error() -> php_error_docref() (Marcus, Dmitry) 2004-05-05 10:31:26 +00:00
Dmitry Stogov
7dae9e6cad Fixed bug #27742 (WDSL SOAP Parsing Schema bug) 2004-04-02 06:23:51 +00:00
Dmitry Stogov
40bb734452 Some small improvments, support for new style constructors, support for exceptions other then SoapFault 2004-04-01 10:47:44 +00:00
Dmitry Stogov
0b0eb80fdf WSDL support for <soap:headerfault> was implemented 2004-02-24 15:06:42 +00:00
Dmitry Stogov
8b9607cff1 Don't try to use <input> name instead of <opeartion> name for encoding RPC call 2004-02-19 18:49:50 +00:00
Dmitry Stogov
2d61e3622d WSDL caching bugs were fixed 2004-02-19 16:46:52 +00:00
Dmitry Stogov
15ccb3be8d Support for SOAP Fault encoding according to WSDL <fault> and <soap:fault> 2004-02-19 08:21:13 +00:00
Dmitry Stogov
7edf9bc2c3 support for XMLSchema <element> nillable attribute 2004-02-17 15:10:16 +00:00
Dmitry Stogov
0ecd198dc5 fix: Using proper namespace for <soap:header> if it is not specified. 2004-02-17 09:23:28 +00:00
Dmitry Stogov
1350643b8c BUGFIX: incorrect restoring of negative integers from WSDL cache 2004-02-16 16:32:52 +00:00
Dmitry Stogov
b21756c1ca Source cleanup 2004-02-13 15:19:09 +00:00
Dmitry Stogov
81af85c380 Old in-memory WSDL cache was removed (it was already switched off by #ifdef) 2004-02-13 11:03:58 +00:00
Dmitry Stogov
563e769dff WSDL support for unknown extensibility elements and wsdl:required attribute (Interop Round3 GroupF) 2004-02-12 16:42:34 +00:00
Dmitry Stogov
f46638ae28 Cache files access rights were changed. 2004-02-11 16:12:31 +00:00
Dmitry Stogov
6096b09159 Now SoapClient uses excptions as default method for error reporting 2004-02-11 13:53:50 +00:00
Dmitry Stogov
20add786ae WSDL caching was implemented 2004-02-10 13:41:21 +00:00
Dmitry Stogov
79dc8d5ef6 fix 2004-02-06 16:54:34 +00:00
Dmitry Stogov
59ab20b23b optimization 2004-02-06 16:52:14 +00:00
Dmitry Stogov
6ae97a5b25 WSDL cache was disabled by default (see WSDL_CACHE macro)
WSDL related memory leaks were fixed
2004-02-06 14:22:33 +00:00