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
Dmitry Stogov
09619a30cb
Fixed Bug #36614 (Segfault when using Soap)
2006-03-15 16:14:40 +00:00
Dmitry Stogov
315dd834a3
Fixed bug #36629 (SoapServer::handle() exits on SOAP faults)
2006-03-10 11:47:06 +00:00
Marcus Boerger
20273c4fe9
- Fix build
2006-03-05 17:31:44 +00:00
Dmitry Stogov
43621bdc7a
Fixed crash
2006-03-03 10:28:58 +00:00
Dmitry Stogov
1facee1b94
Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies)
2006-03-03 09:20:51 +00:00
Dmitry Stogov
63116203d7
Fixed bug #36388 (ext/soap crashes when throwing exception and session persistence). (David)
2006-03-02 14:08:04 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
1efe984d08
- Get rid of using ENFORCE_SAFE_MODE.
2006-02-19 04:29:42 +00:00
Dmitry Stogov
018fc87344
Compression level shouldn't be greatr then 9.
2006-02-07 12:57:43 +00:00
Dmitry Stogov
a13e2c5784
Fixed bug #36083 (SoapClient waits for responses on one-way operations)
2006-02-07 12:49:30 +00:00
Dmitry Stogov
ba96a4032c
typo
2006-02-06 13:17:20 +00:00
Antony Dovgal
96543b01ad
initialize variables and reduce the number of warnings
2006-02-06 11:28:20 +00:00
Antony Dovgal
01937aa77f
initialize variable and make gcc happy
2006-02-06 11:00:51 +00:00
Dmitry Stogov
529a315637
Fixed bug #36283 (SOAPClient Compression Broken).
2006-02-06 10:16:15 +00:00
Dmitry Stogov
edbb459290
Bug #36226 Inconsistent handling when passing potential arrays
2006-02-02 11:42:12 +00:00
Dmitry Stogov
d4a61bb8de
Fixed encoding of inhereted objects
2006-02-01 17:18:38 +00:00
foobar
d99d22dc11
oops
2006-01-01 13:25:34 +00:00
foobar
3631df802d
- fix typo
2006-01-01 13:13:11 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Dmitry Stogov
c354d5e0f6
Fixed bug #35570 (segfault when re-using soap client object)
2005-12-12 09:25:07 +00:00
Dmitry Stogov
c548f7d610
Fixed possible SIGSEGV (Rob Richards)
2005-12-09 15:28:57 +00:00
Dmitry Stogov
2e83748cfc
Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process).
2005-12-07 13:55:52 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
Dmitry Stogov
a859b67027
Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails)
2005-11-28 10:09:07 +00:00
Dmitry Stogov
2d95730e89
Fixed bug #35273 (Error in mapping soap - java types)
2005-11-18 10:59:55 +00:00
Dmitry Stogov
84bcd9ac96
Fixed bug #35142 (SOAP Client/Server Complex Object Support)
2005-11-08 08:36:50 +00:00
Dmitry Stogov
4e744e2b42
Fixed bug #35091 (SoapClient leaks memory)
2005-11-07 10:07:55 +00:00
Dmitry Stogov
d846b5382d
Fixed SIGSEGV
2005-11-01 11:11:19 +00:00
Dmitry Stogov
3cad8e2fb4
Fixed bug #34950 (Unable to get WSDL through proxy)
2005-10-24 07:43:48 +00:00
Dmitry Stogov
050d36d8af
Fixed memory leak in ZTS mode
2005-10-19 07:55:05 +00:00
Antony Dovgal
e371613f9c
nuke unused vars
2005-10-12 14:03:26 +00:00
Dmitry Stogov
e00b9ab746
Fixed bug #32455 (wrong setting property to unset value)
2005-10-11 10:16:03 +00:00
George Schlossnagle
bb09dad9d0
remove potentially bogus test
2005-10-10 16:02:20 +00:00
Dmitry Stogov
89df282855
Fixed XML Schema error
2005-10-10 15:40:43 +00:00
Dmitry Stogov
c8f43c67d0
Fixed bug #34788 (SOAP Client not applying correct namespace to generated values)
2005-10-09 12:42:06 +00:00
Dmitry Stogov
3ea64d3377
Fixed fault message formatting
2005-10-09 11:31:51 +00:00
Dmitry Stogov
f60b382906
Fixed bug #34787 (SOAP Client not handling boolean types correctly)
2005-10-09 11:06:09 +00:00
George Schlossnagle
0315733264
Test simple derivation via restriction
2005-10-07 15:06:09 +00:00
Dmitry Stogov
3b6f181dd8
Fixed bug #34766 (possible crash on HTTP redirection)
2005-10-07 11:55:53 +00:00
Dmitry Stogov
5d4a602eaa
Reverted last George patches
2005-10-07 08:21:37 +00:00
George Schlossnagle
90de6c8216
Permit correct usage of inherited encoders (from restriction/extension
...
"base" directives) for xml response decoding.
2005-10-07 05:14:31 +00:00
George Schlossnagle
6ca9ed38e4
support complex types in restrictions and extensions
2005-10-06 22:30:08 +00:00
Dmitry Stogov
408337fc18
Fixed throwing exceptions derived from SoapFault
2005-10-05 07:01:48 +00:00
Dmitry Stogov
db13ecd5aa
MFH (Bug #34643 wsdl default value)
2005-10-03 09:52:54 +00:00
Dmitry Stogov
4dd3b9436a
Fixed wrong array autodetection
2005-09-29 10:00:59 +00:00
Dmitry Stogov
eb48c25451
Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception)
2005-09-28 11:23:32 +00:00
Dmitry Stogov
b94dc286e7
Fixed bug #34643 (wsdl default value has no effect)
2005-09-27 15:24:47 +00:00
Dmitry Stogov
746e88e3d5
Fixed bug #34478 (Incorrect parsing of url's fragment (#...))
2005-09-16 15:47:42 +00:00
Dmitry Stogov
1e32cdbb7d
Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed)
2005-09-12 08:23:49 +00:00
Dmitry Stogov
fe88b03b99
ZTS fix
2005-08-25 06:50:16 +00:00
Dmitry Stogov
47539d32d0
Fixed boolean encoding (from 0/1 to false/true) to support some buggy soap SDKs.
...
Fixed support for missing nillable elements of sequnces.
2005-08-24 11:46:27 +00:00
foobar
cbb14bec35
Fix ZTS build
2005-08-17 17:02:46 +00:00
Zeev Suraski
63c6feaff7
Add SoapClient::__setSoapHeaders()
2005-08-17 07:04:50 +00:00
Marcus Boerger
4a43e9c812
- TSRM Fix
2005-08-16 20:15:21 +00:00
Sebastian Bergmann
52b001cc05
ZTS fixes.
2005-08-12 14:08:28 +00:00
Dmitry Stogov
c9103e18b0
Automatic encoding/decoding of hexbin data type (base64 support is improved)
2005-08-08 09:53:58 +00:00
Ilia Alshanetsky
c59d0aeb0a
Update todo.
2005-08-07 18:33:45 +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
1066066436
Allow SOAP work when allow_url_fopen is turned off.
2005-08-01 11:38:02 +00:00
Ilia Alshanetsky
3674649c59
Fixed bug #32139 (SOAP client does not auto-handle base64 encoding).
2005-07-27 14:52:52 +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
Wez Furlong
3b5af6d43f
Remove stale #ifdefs (this is PHP 5 only code).
...
Add a stream_context option to the SoapClient constructor; this allows
generic stream context options to be set without having to add code to the
SoapClient every time a context option is added.
2005-07-19 19:48:02 +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
3fea0b7b8c
Fixed support for <any> in base type of extension
2005-07-08 07:16:56 +00:00
Dmitry Stogov
bcd201f522
Fixed SIGSEGV on decoding <any> elements
2005-07-07 17:29:25 +00:00
Dmitry Stogov
e7217e032c
Fixed possible crash
2005-07-06 14:15:51 +00:00
Dmitry Stogov
1f52d756fd
Fixed test to support 64-bit platforms
2005-07-06 07:28:25 +00:00
Dmitry Stogov
61d6c4e616
Fixed SIGSEGV during error processing on some systems (linux/ppc)
2005-07-06 06:58:44 +00:00