Dmitry Stogov
f5d9b018ce
Unicode support fix
2007-07-06 10:36:20 +00:00
Dmitry Stogov
85279a4dce
Allowed loading XML from unicode strings
2007-06-29 13:58:34 +00:00
Dmitry Stogov
650a230167
Fixed bug #41566 (SOAP Server not properly generating href attributes)
2007-06-14 07:09:42 +00:00
Ilia Alshanetsky
cbcb1840f3
MFB
2007-05-28 23:43:24 +00:00
Dmitry Stogov
778d557116
Fixed bug #41337 WSDL parsing doesn't ignore non soap bindings
2007-05-21 13:14:02 +00:00
Dmitry Stogov
6e0e4de3a4
Fixed compilation error
2007-05-11 07:19:57 +00:00
Antony Dovgal
e7e46b2d1c
add missing header
2007-05-10 21:54:08 +00:00
Antony Dovgal
5779f46bfd
MFB
2007-05-10 21:26:51 +00:00
Dmitry Stogov
f0778af384
Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings)
2007-05-10 14:58:32 +00:00
Antony Dovgal
ccd97f3a21
fix test names
2007-05-07 17:23:53 +00:00
Dmitry Stogov
d01f873cb6
Fixed bug #41004 (minOccurs="0" and null class member variable)
2007-05-02 09:38:22 +00:00
Dmitry Stogov
d06900358a
New test
2007-05-02 08:35:33 +00:00
Dmitry Stogov
e701459646
Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL)
2007-05-02 08:22:32 +00:00
Antony Dovgal
e94b3c8f88
improve test
2007-04-11 22:29:46 +00:00
Antony Dovgal
210389ab21
skip test if openssl is present
...
in this case the error messages are different
2007-04-10 21:38:09 +00:00
Dmitry Stogov
2b24ec5989
Fixed bug #37013 (server hangs when returning circular object references)
2007-04-02 13:43:29 +00:00
Dmitry Stogov
9e225a5af9
new test
2007-03-30 10:10:15 +00:00
Dmitry Stogov
1860541d6b
Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors.
2007-03-20 09:52:33 +00:00
Dmitry Stogov
7e34938f93
Fixed bug #36226 (Inconsistent handling when passing nillable arrays)
2007-03-20 07:51:47 +00:00
Dmitry Stogov
76fb780f63
Fixed tests
2007-02-26 16:20:14 +00:00
Dmitry Stogov
4b0071a7e9
Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry)
2007-02-25 13:24:25 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Stanislav Malyshev
3305731054
use snprintf
2007-02-21 21:11:32 +00:00
Dmitry Stogov
9c75989fb9
Fixed memory leak
2007-02-15 17:00:52 +00:00
Dmitry Stogov
9c294ae1a6
Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0)
2007-02-15 14:49:13 +00:00
Nuno Lopes
37960644df
fix access to already free'ed memory
2007-01-29 19:36:53 +00:00
Sara Golemon
cc1b19cf0e
Expand allow_url_fopen/allow_url_include functionality
2007-01-24 21:43:47 +00:00
Antony Dovgal
97c8b1d13e
more snprintf()
2007-01-18 16:21:00 +00:00
Sara Golemon
8ca1ed346d
INI options should not be modified directly.
...
Bad extension. No cookie for you.
2007-01-17 00:22:48 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
2dbfe66e4a
MFB: safety checks
2006-12-26 17:40:20 +00:00
Antony Dovgal
184406c016
fix proto
2006-12-25 19:12:39 +00:00
Ilia Alshanetsky
5da2c7a6df
MFB: Optimize out zend_hash_num_elements() call
2006-12-21 01:16:36 +00:00
Antony Dovgal
7565c841c8
MFB
2006-12-19 21:40:59 +00:00
Antony Dovgal
a38ccf3969
add check for setlocale() and sv_SE to SKIPIF section
2006-12-19 20:46:48 +00:00
Dmitry Stogov
869003830b
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:55:16 +00:00
Dmitry Stogov
94527816f4
Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)
2006-12-18 14:39:39 +00:00
Ilia Alshanetsky
820b30bcb8
MFB: Replace non-threadsafe rand() with php_rand_r()
2006-11-28 00:24:16 +00:00
Dmitry Stogov
ea40c01459
Fixed bug #39454 (Returning a SOAP array segfaults PHP)
2006-11-10 15:05:38 +00:00
Dmitry Stogov
6cb3fad99b
Fixed bug #38536 (SOAP returns an array of values instead of an object)
2006-11-08 10:05:33 +00:00
Dmitry Stogov
ae2fc4c4ab
Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client)
2006-11-06 16:36:54 +00:00
Dmitry Stogov
a0407cf588
Fixed decoding list of arrays (related to bug #39121 )
2006-10-23 06:49:49 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
15e5832c26
MFB: Last set of zend_hash_init() optimizations
2006-10-03 19:52:34 +00:00
Dmitry Stogov
0bc5b98d2e
Fixed possible crash with default namespaces
2006-10-03 07:00:57 +00:00
Hannes Magnusson
67234dc2b7
Fix arginfo&proto
2006-09-25 21:16:51 +00:00
Dmitry Stogov
e5b5342df4
Removed warning about unreferenced local variable
2006-09-25 08:19:06 +00:00
Dmitry Stogov
d365bd66c2
Prevent access to dead zval
2006-09-22 13:39:17 +00:00
Dmitry Stogov
90ff4f8f52
Added ability to make SOAP call userspace PHP<->XML converters
2006-09-20 13:43:04 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Dmitry Stogov
251bb2d7e1
Fixed memory leak
2006-09-15 07:11:09 +00:00
Dmitry Stogov
4cd00c73fc
Fixed unicode support
2006-09-07 13:25:46 +00:00
Dmitry Stogov
ba833d2bc0
Fixed support for endpoint's URL without <path> part (Rob)
2006-09-06 11:03:59 +00:00
Dmitry Stogov
e9cf79d23d
Fixed bug #38700 (SoapClient::__getTypes never returns)
2006-09-04 10:52:44 +00:00
Dmitry Stogov
47cab28ab3
Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method).
2006-08-24 06:18:45 +00:00
Antony Dovgal
dbe2092313
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Rob Richards
9bd82acc33
fix compile
2006-08-04 13:40:12 +00:00
Dmitry Stogov
fd22843513
Unicode support
2006-08-04 07:38:21 +00:00
Dmitry Stogov
31c0eb37f6
Unicode support.
2006-08-03 16:13:06 +00:00
Dmitry Stogov
e0b7e95935
Unicode support
2006-08-01 16:10:25 +00:00
Dmitry Stogov
ac7333ce60
Reimplemented SoapServer and SoapClient classes using ZE2 object API.
...
All internal properties are hidden now.
2006-07-31 16:02:04 +00:00
Dmitry Stogov
1dcb726c5a
Removed deprecated #ifdef ZEND_ENGINE_2
2006-07-27 15:23:04 +00:00
Dmitry Stogov
83f54a2592
Unicode support (not finished)
2006-07-27 14:56:46 +00:00
Marcus Boerger
eb0fd63012
- zend_(u_)_unmangle_property_name() has changed
2006-07-24 17:55:41 +00:00
Dmitry Stogov
98799bdc16
Unicode support (not finished)
2006-07-18 15:05:07 +00:00
Dmitry Stogov
d6cd18c083
Fixed compilation error
2006-07-18 09:24:54 +00:00
Dmitry Stogov
2d0539e2ba
Unicode support (not finished)
2006-07-13 16:47:26 +00:00
Dmitry Stogov
6a12b2de74
Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option)
2006-07-12 09:00:15 +00:00
Dmitry Stogov
1e0999fd46
Nuke signed/unsigned compiler warnings
2006-07-11 14:36:05 +00:00
Dmitry Stogov
c429225904
Nuke signed/unsigned compiler warnings
2006-07-11 14:24:39 +00:00
Dmitry Stogov
f32a21b112
Fixed bug #38055 (Wrong interpretation of boolean parameters)
2006-07-10 10:33:55 +00:00
Dmitry Stogov
517c39a035
Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules)
2006-07-10 07:41:52 +00:00
Dmitry Stogov
00d9e00ee4
Fixed test
2006-07-10 07:26:31 +00:00
Dmitry Stogov
ae8d24392e
Fixed bug #38004 Parameters in SoapServer are decoded twice
2006-07-10 07:23:12 +00:00
Ilia Alshanetsky
7eccf9120e
MFB: Improved the error reporting in SOAP extension on request failure.
2006-06-27 23:33:19 +00:00
Dmitry Stogov
ce56c376df
Fixed bug #37862 (Integer pointer comparison to numeric value)
2006-06-26 13:31:37 +00:00
Antony Dovgal
26713e9afe
fix #37807 (segmentation fault during SOAP schema import)
2006-06-19 11:43:36 +00:00
Rasmus Lerdorf
9e0cedcdd6
Optimize the other string conversion functions here to just create raw
...
text nodes.
2006-06-15 22:44:55 +00:00
Rasmus Lerdorf
c0c6e9944f
I don't think the call to xmlNodeSetContentLen() is needed here and
...
it is causing performance problems because it tries to parse the blob
and create a subtree. Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text. On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds. As far as I can tell
all the tests pass with this patch.
2006-06-15 18:03:30 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713
- new output control code
...
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
2006-06-02 19:51:43 +00:00
Dmitry Stogov
2fd6c8607a
Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24)
2006-05-26 09:04:54 +00:00
Dmitry Stogov
d5236aaf96
Fixed bug #37278 (SOAP not respecting uri in __soapCall)
2006-05-25 08:15:57 +00:00
Frank M. Kromann
eb7d1077db
Add missing ZSTR()
2006-04-29 18:29:14 +00:00
Dmitry Stogov
a4f2165295
Fixed win32 build
2006-04-24 07:04:25 +00:00
Dmitry Stogov
c83968d4fc
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/Soa
pServer 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 w
sdl 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:49:16 +00:00
Dmitry Stogov
b5dab1b9dc
Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry)
2006-04-18 13:08:11 +00:00
Andrei Zmievski
f7881d3fe2
MFB
2006-04-17 16:09:42 +00:00
Dmitry Stogov
a7fd5d2357
Fixed several bugs in new "caching WSDL in memory" code
...
Re-enabled disk cache
2006-04-17 13:16:15 +00:00
Dmitry Stogov
930bf30460
Fixed calling header functions through __call()
2006-04-14 09:11:48 +00:00
Dmitry Stogov
fa9135ff2d
Fixed bug #37054 (SoapClient Error Fetching http headers)
2006-04-13 08:18:54 +00:00
Dmitry Stogov
1c4d488cc8
Fixed bug #36908 (wsdl default value overrides value in soap request).
2006-04-10 13:29:57 +00:00
Dmitry Stogov
d532322b72
Fixed test
2006-04-10 12:50:14 +00:00
Dmitry Stogov
159008041c
ZTS fix
2006-04-10 10:11:29 +00:00
Andrei Zmievski
909a0f5cd0
MFB
2006-04-09 23:38:30 +00:00
Antony Dovgal
0b0fff07b2
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Dmitry Stogov
0623f8471a
Fixed SoapFault::getMessage()
2006-03-24 08:46:14 +00:00
Dmitry Stogov
82864571ad
Fixed compatibility with auto_globals_jit
2006-03-21 12:27:10 +00:00
Dmitry Stogov
089646babf
Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive)
2006-03-21 12:05:10 +00:00
Dmitry Stogov
323a2d30ed
Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)
2006-03-20 10:37:09 +00:00