Commit Graph

782 Commits

Author SHA1 Message Date
Michael Maclean
c261f45e4b Remove some calls to TSRMLS_FETCH in ext/soap 2010-03-25 14:43:15 +00:00
Jani Taskinen
af49e58f51 - Reverted r296062 and r296065 2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e MFH: Improved / fixed output buffering (Michael Wallner) 2010-03-11 10:24:29 +00:00
Felipe Pena
67329a897a - Fix test (Bug #51036) 2010-02-15 21:46:45 +00:00
Felipe Pena
72d9e654e0 - Added missing SKIPIF 2010-02-15 21:32:25 +00:00
Ilia Alshanetsky
c0e90d0b8e Added missing INI settings 2010-01-20 13:06:27 +00:00
Hannes Magnusson
6cd6c32d0f Kill very old export of the docs.
Fixes bug#50784
2010-01-17 16:25:20 +00:00
Frank M. Kromann
1709009f1d Don't free soap_headers just before comparing the length. This causes SoapClient to fail when requesting a URL 2010-01-13 05:32:02 +00:00
Sriram Natarajan
5d0419e05a - Addressing minor leak noticed while addressing bug #48590 2010-01-05 19:25:23 +00:00
Sriram Natarajan
2c8bdf40d0 - Fixed bug #48590 (SoapClient does not honor max_redirects) 2010-01-05 03:07:43 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
a94558c855 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Felipe Pena
9b8f2525aa - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Felipe Pena
f1d5433959 - Fixed bug #50258 (typos in error strings) 2009-11-21 19:43:00 +00:00
Pierrick Charron
84ab9cd30e Fixed bug #50219 (soap call Segmentation fault on a redirected url). 2009-11-21 01:22:32 +00:00
Dmitry Stogov
60ef4a1ef6 Fixed bug #47273 (Encoding bug in SoapServer->fault) 2009-08-26 14:05:48 +00:00
Dmitry Stogov
b06436f171 Fixed bug #49144 (import of schema from different host transmits original authentication details) 2009-08-17 18:23:48 +00:00
Felipe Pena
da9b80e309 - Drop unused code 2009-06-15 17:56:08 +00:00
Felipe Pena
aa8811982e - MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:31:02 +00:00
Ilia Alshanetsky
2c31cd513b Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
SOAP services)

#original patch by lordelph at gmail dot com
2009-06-03 12:39:50 +00:00
Arnaud Le Blanc
6540730732 MFH: Fix skipif 2009-05-20 10:08:32 +00:00
Pierre Joye
30505d1339 - make it loud when libxml is missing or the dep is not present 2009-04-22 19:06:47 +00:00
Dmitry Stogov
42bb8ed2b5 Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault) 2009-02-18 13:25:48 +00:00
Felipe Pena
6caf16d52b - MFH: Fixed bug #47269 (Typo: SoapSlient instead of SoapClient) 2009-02-02 10:00:11 +00:00
Dmitry Stogov
f946918fc6 Fixed bug #46419 (Elements of associative arrays with NULL value are lost) 2009-01-26 11:09:36 +00:00
Ilia Alshanetsky
2b456001da MFB: Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). 2009-01-19 21:58:02 +00:00
Felipe Pena
aea77fd164 - New test 2009-01-05 22:17:28 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Dmitry Stogov
1a3f557b1a Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error message) 2008-12-01 09:49:58 +00:00
Dmitry Stogov
9190796120 Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection) 2008-11-28 14:20:58 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Dmitry Stogov
725640d82b Fixed bug #44882 (SOAP extension object decoding bug) 2008-11-27 14:49:56 +00:00
Dmitry Stogov
f80d26e68a Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter) 2008-11-27 11:25:40 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
5153c19714 - MFH: Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 02:00:44 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Dmitry Stogov
ec7cca7f2d ws 2008-10-16 15:49:29 +00:00
Dmitry Stogov
001a548b1a Fixed bug #43723 (SOAP not sent properly from client for <choice>) 2008-10-16 15:36:59 +00:00
Dmitry Stogov
8d610e79ac Added ability to send user defined HTTP headers with SOAP request. 2008-10-01 13:13:34 +00:00
Dmitry Stogov
71aad5da4a Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float) 2008-10-01 08:42:48 +00:00
Felipe Pena
2fced40b76 MFH: - Added E_ERROR in constructors 2008-09-15 18:07:16 +00:00
Ilia Alshanetsky
6a2729ed4d Fixed a compiler warning 2008-09-09 01:21:07 +00:00
Felipe Pena
c3cda40f8f - MFH: Changed error level E_ERROR into E_WARNING in parameter validation 2008-09-08 19:41:42 +00:00
Felipe Pena
166ea7073a - MFH: Removed the doubled error message (the error level is no longer E_ERROR) 2008-09-07 02:58:50 +00:00
Dmitry Stogov
41840d59a5 Disabled warning messages in SoapClient constructor 2008-09-01 14:55:30 +00:00
Arnaud Le Blanc
0b2ecdbac5 MFH: Fix tests: need simplexml 2008-07-23 09:25:06 +00:00
Arnaud Le Blanc
15b1c9aade MFH: Fix tests: soap tests in schema/ needs the xml extension 2008-07-23 08:56:20 +00:00
Dmitry Stogov
4b0b1d804e Fixed test 2008-07-22 07:09:59 +00:00
Felipe Pena
1d5c800648 - MFH: Added arginfo 2008-07-22 01:47:22 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Felipe Pena
bdd6712bf5 - New parameter parsing API 2008-06-22 16:08:52 +00:00
Dmitry Stogov
5429bfb518 Fixed SOAP binding selection 2008-06-18 07:23:58 +00:00
David Soria Parra
6e34cbfb90 Coding style 2008-05-20 13:28:57 +00:00
David Soria Parra
d5befc743d MFH: Allow non-long values for proxy_port, connection_timeout and convert them 2008-05-20 13:16:47 +00:00
Antony Dovgal
b3b5126954 fix test names 2008-05-14 13:04:05 +00:00
Dmitry Stogov
1f3a661337 Fixed test 2008-05-08 09:15:38 +00:00
Antony Dovgal
4291646858 fix test 2008-05-08 07:09:10 +00:00
Antony Dovgal
a4e272c241 rename the test 2008-05-07 15:23:31 +00:00
David Coallier
c5b386b8a3 - Fixed bug #44811 (Improve error message when creating a new SoapClient that contains invalid data) 2008-05-07 15:23:10 +00:00
David Coallier
fb2ae8ee73 - Bug #44811 (Improved error message for creating invalid new SoapClient) 2008-05-07 15:14:16 +00:00
Joe Orton
c3474b9116 MFH: Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
(stotty at tvnet dot hu)
MFH: Fix another case of a broken stream->fd cast in 64-bit builds.
2008-04-04 13:02:48 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Dmitry Stogov
29eac881b0 Fixed SIGSEGV because of access to uninitialized data 2008-03-04 12:47:18 +00:00
Rasmus Lerdorf
28e4a3d4dd Missing footer 2008-02-22 05:04:34 +00:00
Antony Dovgal
2fb4ea9c4f MFH 2008-02-15 09:35:53 +00:00
Dmitry Stogov
7b6238c61f Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status) 2008-02-15 06:51:12 +00:00
Dmitry Stogov
a498d64ceb Fixed wrong type cast 2008-01-16 06:15:04 +00:00
Dmitry Stogov
9c64182ae7 Fixed broken soap.wsdl_cache_enabled 2008-01-09 16:45:48 +00:00
Dmitry Stogov
18226f79bc Remplemented support for SplArray using Traversable interface. 2008-01-09 13:49:40 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
964b8bb30d Added ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese, Dmitry) 2007-12-27 13:10:20 +00:00
Dmitry Stogov
1a9e668a04 Fixed bug #42952 (soap cache file is created with insecure permissions) 2007-11-23 10:02:24 +00:00
Etienne Kneuss
1bf9059e77 MFH: fix typos 2007-11-13 23:44:28 +00:00
Dmitry Stogov
b710c61f34 Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer) 2007-11-13 15:10:16 +00:00
Ilia Alshanetsky
f100892df0 Fixed parse error described in bug #43228 2007-11-11 13:38:03 +00:00
Dmitry Stogov
38e93fe401 Fixed test 2007-11-07 08:36:44 +00:00
Dmitry Stogov
db3496fac8 Another fix for bug #42773 2007-11-01 15:41:25 +00:00
Dmitry Stogov
2f51afe2c6 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown) 2007-11-01 13:27:38 +00:00
Dmitry Stogov
bf0d17065f Fixed bug #42773 (WSDL error causes HTTP 500 Response) 2007-11-01 12:26:25 +00:00
Dmitry Stogov
400101ac5b Use heap-allocated return value 2007-10-30 07:21:47 +00:00
Dmitry Stogov
68bacdd797 Fixed possible crash because of uninitialized value (Zdash Urf) 2007-10-17 12:09:03 +00:00
Dmitry Stogov
af76115fe5 Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran) 2007-10-17 11:18:34 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Dmitry Stogov
10150ea755 Improved ext/soap to support element names in context of XMLShema's <any> 2007-09-27 10:01:43 +00:00
Dmitry Stogov
e56466edc8 Fixed bug #42214 (SoapServer sends clients internal PHP errors) 2007-09-05 11:20:45 +00:00
Dmitry Stogov
ee944bd1b5 Fixed bug #42488 (SoapServer reports an encoding error and the error itself breaks). 2007-09-05 10:18:23 +00:00
Dmitry Stogov
83647013af Fixed bug #42359 (xsd:list type not parsed) 2007-08-31 10:48:45 +00:00
Dmitry Stogov
fdf96bed47 Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic compliant wsdl) 2007-08-31 09:36:02 +00:00
Dmitry Stogov
ba1f56cb6d Fixed bug #42326 (SoapServer crash) 2007-08-31 08:07:28 +00:00
Dmitry Stogov
8a61fc9b6e Fixed bug #42183 (classmap cause crashr in non-wsdl mode) 2007-08-22 14:18:10 +00:00
Dmitry Stogov
8589a7f473 Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception) 2007-08-01 10:39:33 +00:00
Dmitry Stogov
7a847f1086 Fixed bug #41983 (Error Fetching http headers terminated by '\n') 2007-07-24 09:27:46 +00:00
Dmitry Stogov
6c5e9cc6e4 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown 2007-07-13 14:00:05 +00:00
Dmitry Stogov
1e768865dc Fixed memleak 2007-07-13 09:14:03 +00:00
Dmitry Stogov
3b27cd22b6 Fixed bug #41566 (SOAP Server not properly generating href attributes) 2007-06-14 07:09:31 +00:00
Ilia Alshanetsky
0f6e099d7d Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). 2007-05-27 17:46:46 +00:00
Dmitry Stogov
7d1dbff79d Fixed bug #41337 WSDL parsing doesn't ignore non soap bindings 2007-05-21 13:13:50 +00:00
Antony Dovgal
5d8567b83b %d -> %ld 2007-05-10 21:52:10 +00:00
Ilia Alshanetsky
51e0891f0b Fixed random number generation for http auth mechanism in SOAP
# Identified by Stefan Esser
2007-05-10 21:05:14 +00:00
Dmitry Stogov
fb045249e5 Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings) 2007-05-10 14:58:17 +00:00
Antony Dovgal
c25a2f6cd2 fix tests (add precision) 2007-05-07 22:41:30 +00:00
Ilia Alshanetsky
9b661ea62e Fixed SOAP tests and added additional tests to ensure processing POST data
works based on server001.phpt
2007-05-07 18:45:03 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
0a63bd4d0b Allow SOAP extension's handler() to work even when
always_populate_raw_post_data is off.

# Tests will be updated in the next few days
2007-05-06 17:21:13 +00:00
Dmitry Stogov
97b338afe5 - Fixed bug #41097 (ext/soap returning associative array as indexed without
using WSDL).
- Fixed bug #41004 (minOccurs="0" and null class member variable).
2007-05-04 06:19:34 +00:00
Dmitry Stogov
df61bae636 Reverted the following fixed because of php-5.2.2 release process
- Fixed altering $this via argument named "this".
- Fixed bug #41097 (ext/soap returning associative array as indexed without
  using WSDL).
- Fixed bug #41004 (minOccurs="0" and null class member variable).
2007-05-02 17:24:16 +00:00
Dmitry Stogov
101a0f08ce Fixed bug #41004 (minOccurs="0" and null class member variable) 2007-05-02 09:38:12 +00:00
Dmitry Stogov
4b7999cd0b New test 2007-05-02 08:35:17 +00:00
Dmitry Stogov
3721cb9d8d Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL) 2007-05-02 08:22:13 +00:00
Dmitry Stogov
1f8f38e653 Fixed test 2007-04-22 08:37:38 +00:00
Antony Dovgal
e972fc1797 improve test 2007-04-11 22:29:53 +00:00
Antony Dovgal
e145f1aa2a skip test if openssl is present 2007-04-10 21:38:20 +00:00
Andrei Zmievski
fb2def7d97 Apologies. Didn't realize we were using custom snprintf(). 2007-04-06 18:27:58 +00:00
Andrei Zmievski
8a1f346162 Typo? 2007-04-06 18:25:49 +00:00
Dmitry Stogov
36c6ad915b Fixed bug #37013 (server hangs when returning circular object references) 2007-04-02 13:43:08 +00:00
Dmitry Stogov
77a8b0be35 Fixed test 2007-04-02 11:44:40 +00:00
Dmitry Stogov
99c5cebab3 new test 2007-03-30 10:10:33 +00:00
Dmitry Stogov
3ee54ce924 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:14 +00:00
Dmitry Stogov
ef06bfa3ec Fixed bug #36226 (Inconsistent handling when passing nillable arrays) 2007-03-20 07:51:32 +00:00
Ilia Alshanetsky
cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +00:00
Dmitry Stogov
8ae520d0b5 Fixed tests 2007-02-26 16:19:56 +00:00
Dmitry Stogov
015a5655df Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry) 2007-02-25 13:19:29 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Stanislav Malyshev
9d3e446d80 use safe_emalloc 2007-02-23 20:40:55 +00:00
Stanislav Malyshev
2a019a14bf use snprintf 2007-02-21 21:08:58 +00:00
Ilia Alshanetsky
6b253ae064 Improve redirect validation 2007-02-21 04:29:15 +00:00
Dmitry Stogov
ea278e8566 Fixed memory leak 2007-02-15 17:01:29 +00:00
Dmitry Stogov
2cf92f365a Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0) 2007-02-15 14:48:12 +00:00
Antony Dovgal
84a827e0d4 MFH 2007-01-18 16:21:32 +00:00
Ilia Alshanetsky
7d901eacbe %f -> %F 2007-01-05 15:06:55 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
52d53543ac Allocation safety checks 2006-12-25 22:36:57 +00:00
Ilia Alshanetsky
1783b0e481 Optimize out zend_hash_num_elements() call 2006-12-21 01:16:10 +00:00
Antony Dovgal
1ef3ca7bf7 on FreeBSD these locales have different names 2006-12-19 21:39:48 +00:00
Antony Dovgal
949a0934c8 MFH 2006-12-19 20:46:56 +00:00
Dmitry Stogov
c43fc2afc8 Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:54:38 +00:00
Dmitry Stogov
6e0b78cd4c Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0) 2006-12-18 14:39:23 +00:00
Ilia Alshanetsky
c42d25dc33 Small hash table optimization 2006-11-30 23:51:24 +00:00
Ilia Alshanetsky
34b55f2012 Replace non-threadsafe rand() with php_rand_r() 2006-11-28 00:22:05 +00:00
Dmitry Stogov
31bfc6e55b Fixed bug #39454 (Returning a SOAP array segfaults PHP) 2006-11-10 15:05:22 +00:00
Dmitry Stogov
84b9dcb73f Fixed bug #38536 (SOAP returns an array of values instead of an object) 2006-11-08 10:05:19 +00:00
Dmitry Stogov
7b8f30adcb Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client) 2006-11-06 16:36:43 +00:00
Dmitry Stogov
95fbb9514e MFH: Fixed decoding list of arrays (related to bug #39121) 2006-11-06 13:22:49 +00:00
Dmitry Stogov
4629cc0bf6 Revert patch because we are at last RC stage. 2006-10-24 05:20:50 +00:00
Dmitry Stogov
fc22c9dd50 Fixed decoding of list of arrays in non-WSDL mode. (releated to bug #39121) 2006-10-23 06:46:38 +00:00
Ilia Alshanetsky
557838efa4 Last set of zend_hash_init() optimizations 2006-10-03 19:51:01 +00:00
Dmitry Stogov
99356595df Fixed possible crash with default namespaces 2006-10-03 07:00:35 +00:00
Hannes Magnusson
f537599199 MFH: fix arginfo&proto 2006-09-28 11:32:30 +00:00
Dmitry Stogov
fa6c04c746 Removed warning about unreferenced local variable 2006-09-25 08:15:03 +00:00
Dmitry Stogov
f7f180f930 Prevent access to dead zval 2006-09-22 13:39:32 +00:00
Dmitry Stogov
f5d7dac35d Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:42:52 +00:00
Dmitry Stogov
ed26032176 Fixed memory leak 2006-09-15 07:11:35 +00:00
Dmitry Stogov
76d748f372 Fixed support for endpoint's URL without <path> part (Rob) 2006-09-06 11:03:45 +00:00
Dmitry Stogov
8166284cfd Fixed bug #38700 (SoapClient::__getTypes never returns) 2006-09-04 10:52:34 +00:00
Dmitry Stogov
92f1b46fbb Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-24 06:18:30 +00:00
Dmitry Stogov
1354aa9ef4 Prevented possible double call in case of fault 2006-07-31 15:31:01 +00:00
Dmitry Stogov
53025ca377 Fixed crash in SoapClient::__setSoapHeaders() 2006-07-31 13:41:34 +00:00
Marcus Boerger
d0f2f6cd04 - MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex() 2006-07-24 18:03:45 +00:00
Dmitry Stogov
c48a2e38f4 Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 08:59:40 +00:00
Dmitry Stogov
a602a3eef5 Nuke signed/unsigned compiler warnings 2006-07-11 14:35:50 +00:00
Dmitry Stogov
ee1dc90d1e Nuke signed/unsigned compiler warnings 2006-07-11 14:24:18 +00:00
Dmitry Stogov
26499be68f Fixed bug #38055 (Wrong interpretation of boolean parameters) 2006-07-10 10:33:43 +00:00
Dmitry Stogov
795a482a48 Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) 2006-07-10 07:41:33 +00:00
Dmitry Stogov
1cfb8af265 Fixed test 2006-07-10 07:26:17 +00:00
Dmitry Stogov
c389a653f7 Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:21:41 +00:00
Ilia Alshanetsky
58c82af64d Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:32:56 +00:00
Dmitry Stogov
de85c9cd70 Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 13:23:46 +00:00
Antony Dovgal
20ee84dea6 MFH: fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:45 +00:00
Rasmus Lerdorf
8ab6f3fd39 MFH: Optimize the other string conversion functions here to just create
raw text nodes.
2006-06-15 22:45:30 +00:00
Rasmus Lerdorf
12022014fa MFH:
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.
2006-06-15 20:49:05 +00:00
Dmitry Stogov
10371b034a Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 09:02:35 +00:00
Dmitry Stogov
93851ebf11 Fixed bug #37278 (SOAP not respecting uri in __soapCall) 2006-05-25 08:14:28 +00:00
Antony Dovgal
ca923a2cae fix test 2006-05-11 22:17:53 +00:00
Marcus Boerger
77c1b56cd7 - Update after api changes 2006-05-10 00:00:13 +00:00
Dmitry Stogov
a34755e9cf MFH 2006-05-03 06:36:02 +00:00
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
874a22101f Fixed calling header functions through __call() 2006-04-14 09:11:29 +00:00
Dmitry Stogov
f897cff480 Fixed bug #37054 (SoapClient Error Fetching http headers) 2006-04-13 08:18:36 +00:00
Dmitry Stogov
07d7750487 Fixed bug #36908 (wsdl default value overrides value in soap request). 2006-04-10 13:29:48 +00:00
Dmitry Stogov
fabd954200 Fixed test 2006-04-10 12:50: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
bace0def1e fix spelling in error messages:
greater/less thEn -> greater/less thAn
2006-04-03 09:14:33 +00:00
Dmitry Stogov
697c652001 Support for zend-myltibyte 2006-03-29 10:39:20 +00:00
Dmitry Stogov
9e26f6c213 Fixed SoapFault::getMessage() 2006-03-24 08:45:54 +00:00
Marcus Boerger
dbe881d9c2 - Fix build 2006-03-23 10:44:39 +00:00
Dmitry Stogov
1122f647d2 Fixed compatibility with auto_globals_jit 2006-03-21 12:26:57 +00:00
Dmitry Stogov
bafba669ad Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive) 2006-03-21 12:04:55 +00:00
Dmitry Stogov
110021f4c7 Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy) 2006-03-20 10:36:55 +00:00
Dmitry Stogov
eacb27d2da Fixed Bug #36614 (Segfault when using Soap) 2006-03-15 16:13:18 +00:00
Dmitry Stogov
7ffc24b9f3 Fixed bug #36629 (SoapServer::handle() exits on SOAP faults) 2006-03-10 11:46:52 +00:00
Dmitry Stogov
d46b474e1e Fixed crash 2006-03-03 10:29:29 +00:00
Dmitry Stogov
622347bd8c Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies) 2006-03-03 09:20:33 +00:00
Dmitry Stogov
65cca0dc20 Fixed bug #36388 (ext/soap crashes when throwing exception and session persistence). (David) 2006-03-02 14:07:48 +00:00
Dmitry Stogov
9167991f69 Compression level shouldn't be greatr then 9. 2006-02-07 12:57:28 +00:00
Dmitry Stogov
73605400e8 Fixed bug #36083 (SoapClient waits for responses on one-way operations) 2006-02-07 12:49:10 +00:00
Dmitry Stogov
a7c845ffcb typo 2006-02-06 13:17:06 +00:00
Antony Dovgal
bccf4bd9e7 MFH: initialize variables and reduce the number of warnings 2006-02-06 11:28:41 +00:00
Antony Dovgal
8911fac653 MFH: initialize variable and make gcc happy 2006-02-06 11:01:06 +00:00
Dmitry Stogov
f2772ecc0d Fixed bug #36283 (SOAPClient Compression Broken). 2006-02-06 10:16:03 +00:00
Dmitry Stogov
7dc9be77fc Bug #36226 Inconsistent handling when passing potential arrays 2006-02-02 11:41:45 +00:00
Dmitry Stogov
9774b6d3e6 Fixed encoding of inhereted objects 2006-02-01 17:18:24 +00:00
foobar
62b9a736bf MFH: oops 2006-01-01 13:27:13 +00:00
foobar
63e14480fc fix typo 2006-01-01 13:13:52 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Dmitry Stogov
db312cf18e Fixed bug #35570 (segfault when re-using soap client object) 2005-12-12 09:25:23 +00:00
Dmitry Stogov
eef44c609b Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:29:15 +00:00
Dmitry Stogov
9e8bf1a20f Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process). 2005-12-07 13:56:18 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +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
270640283e Fixed bug #35142 (SOAP Client/Server Complex Object Support) 2005-11-08 08:30:19 +00:00
Dmitry Stogov
88edad9f08 Fixed bug #35091 (SoapClient leaks memory) 2005-11-07 10:05:35 +00:00
Dmitry Stogov
e98a40f1fa Fixed SIGSEGV 2005-11-01 11:11:35 +00:00
Dmitry Stogov
a0dd931d85 Fixed bug #34950 (Unable to get WSDL through proxy) 2005-10-24 07:44:17 +00:00
Dmitry Stogov
4a6faadcce Fixed memory leak in ZTS mode 2005-10-19 07:54:53 +00:00
Antony Dovgal
305e946358 MFH: nuke unused vars 2005-10-12 14:04:02 +00:00
Dmitry Stogov
bb8e5de181 Fixed bug #32455 (wrong setting property to unset value) 2005-10-11 10:15:40 +00:00
George Schlossnagle
9d79a201f1 Test seems potentially bogus. 2005-10-10 16:01:28 +00:00
Dmitry Stogov
c61c3dd422 Fixed XML Schema error 2005-10-10 15:40:53 +00:00
Dmitry Stogov
303a642a0d Fixed bug #34788 (SOAP Client not applying correct namespace to generated values) 2005-10-09 12:41:44 +00:00
Dmitry Stogov
5ef3e0c57b Fixed bug #34787 (SOAP Client not handling boolean types correctly) 2005-10-09 11:05:46 +00:00
George Schlossnagle
1f7c9e197c Test simple derivation from restriction. 2005-10-07 15:05:06 +00:00
Dmitry Stogov
2cbe63513c Fixed bug #34766 (possible crash on HTTP redirection) 2005-10-07 11:56:19 +00:00
Dmitry Stogov
e011229598 Reverted last George patches 2005-10-07 08:23:35 +00:00
George Schlossnagle
fa3394eccb Permit correct usage of inherited encoders (from restriction/extension
"base" directives) for xml response decoding.
2005-10-07 05:14:52 +00:00
George Schlossnagle
abe0e61801 MFH: support complex types in restrictions and extensions 2005-10-06 22:30:24 +00:00
Dmitry Stogov
6cbe6d7d52 Fixed throwing exceptions derived from SoapFault 2005-10-05 07:02:30 +00:00
Dmitry Stogov
d09fbaa495 MFH (Bug #34643 wsdl default value) 2005-10-03 09:53:13 +00:00
Dmitry Stogov
e2599c3dbf Fixed wrong array autodetection 2005-09-29 10:02:11 +00:00
Dmitry Stogov
ba5f66777e Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception) 2005-09-28 11:24:18 +00:00
Dmitry Stogov
4329db25a1 Fixed bug #34643 (wsdl default value has no effect) 2005-09-27 15:25:10 +00:00
Antony Dovgal
4b9b5505f0 fix #34505 (possible memory corruption when unmangling properties with empty names)
2nd part
2005-09-16 17:11:02 +00:00
Dmitry Stogov
27763b3666 Fixed bug #34478 (Incorrect parsing of url's fragment (#...)) 2005-09-16 15:48:30 +00:00
Dmitry Stogov
90236679e9 Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) 2005-09-12 08:24:01 +00:00
Dmitry Stogov
da4096c210 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:11 +00:00
foobar
f286018dd0 MFH 2005-08-17 17:03:52 +00:00
Zeev Suraski
cf1b4cf673 Introduce SoapClient::__setSoapHeaders() 2005-08-17 07:04:16 +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