Commit Graph

617 Commits

Author SHA1 Message Date
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
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
Dmitry Stogov
68289c4759 ext/soap should use type defined in SoapVar(), if wsdl defines another type 2005-06-21 06:24:55 +00:00
Brian France
cd8adc0cf2 ifdef'ed the code but not the includes 2005-06-16 22:35:11 +00:00
Dmitry Stogov
992a187eb1 Fixed array type autodetection (use namespace name, but not the namespace prefix
)
2005-06-09 08:17:37 +00:00
Dmitry Stogov
20d7e52a53 Enabled test for <any> 2005-06-07 05:37:38 +00:00
George Schlossnagle
d3a665248d [Move from branch]
On architectures that support va_copy (specifically x86_64 linux distros),
if you use va_list args more than once, you can corrupt memory - you
need to use va_copy instead.  man va_copy for details.

Also, derefrencing a void * to a long on 64 bit is totally uncool.
2005-06-03 07:34:49 +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
dac8f964f2 Fixed usage of uninicialized variable 2005-05-31 14:35:55 +00:00
Ilia Alshanetsky
b28b401c78 Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). 2005-05-30 23:46:08 +00:00
foobar
9b57f5ff36 - Fixed bug #33185 (--enable-session=shared does not build) 2005-05-30 15:14:12 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Dmitry Stogov
1417cbaf30 Handling responses with Content-Lenght: 0 2005-05-23 06:25:16 +00:00
Antony Dovgal
8056035197 fix both win and gcc compile errors 2005-05-11 21:16:29 +00:00
Antony Dovgal
6568dea9ef fix gcc-2.95 problems (reported by Adam Maccabee Trachtenberg) 2005-05-11 20:04:18 +00:00
Dmitry Stogov
e0b3a79e1e Fixed transparent SoapFault passing 2005-05-10 13:58:11 +00:00
Dmitry Stogov
bd996f23f2 Fixed SIGSEGV 2005-05-10 10:20:58 +00:00
Dmitry Stogov
61ba13bf72 "<?xml ..." header is not required by SOAP specification 2005-05-10 08:16:14 +00:00
Dmitry Stogov
72b5173ac3 Fixed WSDL cache bug 2005-04-29 05:38:54 +00:00
foobar
39bcbfc306 - Made the libxml related stuff to error out if someone does --disable-all
or --disable-libxml. Better than silently just leave the ext out..
2005-04-27 13:12:55 +00:00
Dmitry Stogov
bd06b244a7 Fixed wrong SoapFault codes. The codes MUST be namespace qualified. 2005-04-21 11:16:48 +00:00
Dmitry Stogov
9d2de24ab5 Fixed bug #32776 (SOAP doesn't support one-way operations) 2005-04-20 10:59:02 +00:00
Dmitry Stogov
d8b50c8175 space -> tab 2005-04-20 08:44:05 +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
c4a7ee45ad Some tests were fixed 2005-04-20 06:36:10 +00:00
Dmitry Stogov
ba22efa25c Missing files were added 2005-04-18 07:54:46 +00:00
Ilia Alshanetsky
d5847b9cf7 Fixed compiler warning. 2005-04-12 16:41:42 +00:00
Ilia Alshanetsky
ce73b66466 Fixed compiler warning. 2005-04-12 01:00:48 +00:00
George Schlossnagle
1d25fc5c7b actually commit the SOAP interop tests this time. 2005-04-03 15:51:22 +00:00
George Schlossnagle
55c25c7275 Fix qualified names for attributes according to attributeFormDefault.
Add SOAP Interop tests from Dmitry.
2005-04-03 15:39:56 +00:00
Dmitry Stogov
caeeebebc1 Fixed handling of attributes' namespaces 2005-03-28 18:06:29 +00:00
Dmitry Stogov
a3f2a3aab5 Fixed handling of attributes' namespaces 2005-03-28 16:28:04 +00:00
Dmitry Stogov
8dff99116d Fixed wrong SOAP headers encoding/decoding. 2005-03-28 15:21:50 +00:00
Dmitry Stogov
2283e471f8 windows compatibility fix 2005-03-23 15:12:54 +00:00
Dmitry Stogov
e31bc5a643 Allow define connection timeout throught "connection_timeout" option in SoapClient constructor. 2005-03-23 08:08:54 +00:00
Dmitry Stogov
4ecbf1792b Fixed bug #31695 (Cannot redefine endpoint when using WSDL) 2005-03-23 07:11:55 +00:00
Dmitry Stogov
fedbd2145a Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught SoapFault exception) 2005-03-22 10:19:08 +00:00
Dmitry Stogov
756c5784c1 Support for <soap:body> "parts" attribute 2005-03-21 15:52:53 +00:00
Dmitry Stogov
713622d363 Fixed SoapFault::details passing 2005-03-20 09:55:47 +00:00
George Schlossnagle
d2731eb575 doc should not be freed here, as it is used later in the code path. 2005-03-18 15:40:04 +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
Ilia Alshanetsky
d247e074a7 Fixed bug #32326 (Check values of Connection/Transfer-Encoding
case-incentively).
2005-03-16 20:30:17 +00:00
Dmitry Stogov
eff0d65240 Fixed bug #32115 (dateTime encoding of timezone incorrect) 2005-03-05 13:27:13 +00:00
Dmitry Stogov
625b79c3ba Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts) 2005-02-04 15:42:46 +00:00
Zeev Suraski
11339ee42e Removing this file has been long due...
API's and functionality are stable.
2005-02-02 17:22:19 +00:00
Dmitry Stogov
3c31410074 Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response) 2005-02-02 10:34:39 +00:00
Dmitry Stogov
83e6e40438 Fixed bug #31755 (Cannot create SOAP header in no namespace) 2005-02-02 09:11:46 +00:00
Dmitry Stogov
fea1b5b3a0 Fixed SIGSEGV when restoring WSDL without functions from cache 2005-01-31 15:08:24 +00:00
Dmitry Stogov
950632519b Empty "detail" was removed from SoapFault object. 2005-01-31 14:26:06 +00:00
Dmitry Stogov
6e8d3e9023 Fixed memory allocation bug 2005-01-31 14:02:19 +00:00
Dmitry Stogov
d5d127c3ad Memory leak was fixed 2005-01-28 10:33:46 +00:00
Dmitry Stogov
2d8e73b963 Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented) 2005-01-25 11:03:20 +00:00
Dmitry Stogov
a343fc848d Support for HTTP error codes 2005-01-20 17:29:16 +00:00
Dmitry Stogov
c35353ea20 Fixed bug #30901 (can't send cookies with soap envelop).
void SoapClient::__setCookie(string name [, string value])
2005-01-20 14:29:19 +00:00
Dmitry Stogov
a830b0fc6b Fixed bug #31422 (No Error-Logging on SoapServer-Side). 2005-01-20 12:48:01 +00:00
Dmitry Stogov
56025c6a1a Support for HTTPS with digital certificates. 2005-01-20 06:08:04 +00:00
Dmitry Stogov
3f0c2347ff Fixed bug #30994 (SOAP server unable to handle request with references). 2004-12-14 13:58:57 +00:00
Dmitry Stogov
ca3c82bbb5 Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or protected properties) 2004-12-07 17:29:42 +00:00
Dmitry Stogov
a1c85ca6f2 Fixed bug #30329 (Error Fetching http body, No Content-Length, connection closed or chunked data). 2004-12-01 18:22:40 +00:00
Dmitry Stogov
5b074c048d Port 443 is default for https, so we shouldn't put it into Host: 2004-12-01 17:33:32 +00:00
Dmitry Stogov
ec4b6f713d Fixed bug #30359 (SOAP client requests have no port in "Host" field ). 2004-12-01 16:59:48 +00:00
Dmitry Stogov
6bb5705619 namespace was renamed 2004-11-17 06:18:18 +00:00
Ilia Alshanetsky
df4911561b Fixed possible usage of un-initialized variable. 2004-11-16 21:04:10 +00:00
Dmitry Stogov
62ce05fb49 indentation fixed. 2004-11-16 13:51:09 +00:00
Dmitry Stogov
94a372b992 Fixed bug #30799 (SoapServer doesn't handle private or protected properties) 2004-11-16 13:04:39 +00:00
Dmitry Stogov
a9a5dbd9b8 Class mapping was implemented (Bug #29385 Soapserver always uses std class). 2004-11-16 12:07:32 +00:00
Frank M. Kromann
a62b69b9c5 fix ZTS builds 2004-11-12 20:32:43 +00:00
Dmitry Stogov
e370219e2a Support for lists in non-WSDL mode was implemented
Support for "xsi:type" was improved
2004-11-11 09:17:10 +00:00
Dmitry Stogov
9c5661f05d Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob) 2004-11-09 08:13:35 +00:00
Dmitry Stogov
75c2a2e527 Fixed bug #30685 (Malformed SOAPClient http header reequest). 2004-11-04 15:30:28 +00:00
Derick Rethans
59651c4e58 - Fixed bug #30630: Added a BSD based strtod function that is
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Dmitry Stogov
fb6072e10d Fixed bug #30175 (SOAP results aren't parsed correctly) 2004-10-05 16:00:40 +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
Wez Furlong
99e290f882 Fix for Bug #24189: possibly unsafe select(2) usage.
We avoid the problem by using poll(2).

On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.

If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).

Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.

A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).

The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Dmitry Stogov
7a149080d8 Fixed crash with SoapFault and register_shutdown_function(). 2004-09-16 08:12:27 +00:00
Dmitry Stogov
37a66d6d3b Fixed invalid test name 2004-09-15 14:36:59 +00:00
Dmitry Stogov
2a63e78eed Fixed possible crash 2004-09-15 10:43:07 +00:00
Dmitry Stogov
ffc2278d6e Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests) 2004-09-14 12:15:30 +00:00
Dmitry Stogov
12752a4044 Change soap's ctors to __construct(),
rename SoapClient->__call() to SoapClinet->__soapCall().
2004-09-13 11:55:24 +00:00
Dmitry Stogov
f8181ba7b5 SoapClient->__call() is renamed to SoapClient->__soap_call(). 2004-09-10 09:02:06 +00:00
Dmitry Stogov
f93560ddc9 Using php_libxml_xmlCheckUTF8() from ext/libxml. 2004-09-10 08:59:45 +00:00
Marcus Boerger
621795ef4b Fix __call's method signature 2004-09-09 09:53:53 +00:00
Dmitry Stogov
7e53511ec8 Make ext/soap work around libxml2 bug in xmlCheckUTF8 (2.6.7-2.6.13) 2004-09-07 14:34:46 +00:00
Dmitry Stogov
dae2423d11 Fixed bug #29842 (soapclient return null value) 2004-08-27 07:07:46 +00:00
Dmitry Stogov
855f3591a6 Memory leaks were fixed 2004-08-26 18:52:57 +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
0835c34572 Fixed bug #29795 (SegFault with Soap and Amazon's Web Services)
Fixed bug #27994 (segfault with Soapserver when WSDL-Cache is enabled)
2004-08-26 15:26:32 +00:00
Dmitry Stogov
6078001f12 Merged bug fixes from PHP_5_0. 2004-08-26 12:24:54 +00:00
Dmitry Stogov
fa6079ea25 Fixed bug #28969 (Wrong data encoding of special characters) 2004-08-10 16:18:08 +00:00
Dmitry Stogov
de46ba2ea5 Fixed bug #28969 (Wrong data encoding of special characters). 2004-08-10 16:11:41 +00:00
Dmitry Stogov
db855e2c74 Test is fixed. (__call() requires two parameters). 2004-08-10 09:57:16 +00:00
Dmitry Stogov
31757a6aa8 Fixed incorrect HTTP headers in SOAP response 2004-07-20 07:39:32 +00:00
Dmitry Stogov
96fc48b606 Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). 2004-07-19 14:55:35 +00:00
Dmitry Stogov
71b7a54377 Fixed bugs #29109 and #29236. (WSDL cache failure) 2004-07-19 13:58:10 +00:00
Dmitry Stogov
e0f33c589f Fixed bug #29061 (soap extension segfaults). 2004-07-19 12:53:29 +00:00
Dmitry Stogov
e35bc2e2b4 Fixed memory leak (related to new implementation of empty strings) 2004-07-19 11:38:40 +00:00
Zeev Suraski
2ec89aa8e1 Add {{{ proto's 2004-07-13 20:41:55 +00:00
Sebastian Bergmann
b5aa8db6a3 Fix ZTS build. 2004-07-06 08:01:07 +00:00
Dmitry Stogov
8ad22e4279 Fixed bug #28751 (SoapServer does not call _autoload()) 2004-07-06 07:30:33 +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
4ea8f4b9f2 BUGFIX: Segfault if server's URL has no path. ("http://192.168.8.1:180") 2004-06-22 12:42:17 +00:00
Dmitry Stogov
d9226a1dd0 Support for HTTP redirection. 2004-06-21 12:56:33 +00:00
Dmitry Stogov
0282ad792a Fixed bug #28702 (SOAP does not parse WSDL service address correctly). 2004-06-10 09:07:09 +00:00
Dmitry Stogov
99a0504a6b Memory leaks were fixed 2004-05-27 08:19:29 +00:00
Dmitry Stogov
2b3e184245 BUGFIX: Prevent crash on error in send_http_soap_request() 2004-05-27 07:58:22 +00:00
Dmitry Stogov
b9bb0d77a0 Fixed bug #28239 (No results returned on SOAP call, no error given) 2004-05-21 14:50:19 +00:00
Dmitry Stogov
38ef28e41b Allowing user defined SOAP transports with SoapClient::__doRequest() 2004-05-20 16:55:03 +00:00
Marcus Boerger
2d6770f0e6 - Added missing UNREGISTER_INI_ENTRIES 2004-05-12 10:15:48 +00:00
Dmitry Stogov
962ab19c99 Support for classes with __call() method on server side. 2004-05-05 10:52:33 +00:00
Dmitry Stogov
7bddbd7bd0 php_error() -> php_error_docref() (Marcus, Dmitry) 2004-05-05 10:31:26 +00:00
Dmitry Stogov
eba2aa9bd0 Support for <![CDATA[ ]]> for string/hexbinary/base64binary data 2004-04-23 12:22:41 +00:00
Dmitry Stogov
c94f0276b0 Support for multiref data 2004-04-21 16:57:18 +00:00
Dmitry Stogov
8d8c50fed3 Fixed bug #27681 (soap extension fails without HAVE_TM_GMTOFF). 2004-04-15 10:27:53 +00:00
Dmitry Stogov
0d42248ad8 Calls to zend_exception_error() were removed. 2004-04-15 09:35:27 +00:00
Stefan Esser
6b12a45247 Fixed: possible remote overflow and possible efree(NULL) crash 2004-04-08 14:58:04 +00:00
foobar
99a2a59f01 cleanup 2004-04-07 15:25:29 +00:00
Dmitry Stogov
b010daa9c4 Support for domain cookies 2004-04-02 15:43:41 +00:00
Dmitry Stogov
6f6ef6deed SoapClint support for multiple hosts (through WSDL) with cookies. 2004-04-02 11:12:44 +00:00
Dmitry Stogov
7dae9e6cad Fixed bug #27742 (WDSL SOAP Parsing Schema bug) 2004-04-02 06:23:51 +00:00
Dmitry Stogov
6a6096ec11 StudlyCaps fix. 2004-04-01 14:37:03 +00:00
Dmitry Stogov
f712d46b50 Fixed possible crash 2004-04-01 14:05:55 +00:00
Dmitry Stogov
9dd0826623 Fixed bug #27722 (Segfault on schema without targetNamespace). 2004-04-01 13:44:12 +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
1ed6bb3e63 Using studlyCaps names. 2004-03-30 09:08:23 +00:00
Ilia Alshanetsky
d0a4801579 s/emalloc/safe_emalloc/ where appropriate. 2004-03-18 02:16:35 +00:00
Dmitry Stogov
df29576af6 win32 specific fixes 2004-02-27 14:52:24 +00:00
Dmitry Stogov
d05665a57e fix: Incorrect error message 2004-02-27 12:49:00 +00:00
Ard Biesheuvel
81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Dmitry Stogov
ab968b3d03 HTTP compression (memory leak was fixed) 2004-02-25 14:37:06 +00:00
Dmitry Stogov
b1fa3214f0 fix: XMLSchema <choice> support was improved to support elements with minOccurs=0 2004-02-25 14:34:50 +00:00
Dmitry Stogov
32b6d2fbf8 HTTP compression support (gzip and deflate) 2004-02-25 14:04:41 +00:00
Dmitry Stogov
6b0a18ba7b Documentation update 2004-02-24 15:35:53 +00:00
Dmitry Stogov
0b0eb80fdf WSDL support for <soap:headerfault> was implemented 2004-02-24 15:06:42 +00:00
Dmitry Stogov
78b63f9df1 Fixed value of attribute is default value of attribute 2004-02-24 10:14:09 +00:00
Dmitry Stogov
9da18c12cf fix: anotaion -> anotation 2004-02-24 10:13:25 +00:00
Dmitry Stogov
f15dcfacc1 constants for MIME/DIME encoding were added 2004-02-24 10:12:45 +00:00
Dmitry Stogov
feed42e062 XML Schema support was improved: support for <element> default, fixed and nillable 2004-02-24 09:02:33 +00:00
Dmitry Stogov
8fc285275c BUGFIX: bug in HTTP chunked encoding was fixed 2004-02-20 15:38:39 +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
bac453038a Reading HTTP responses without "Content-Length:" but with "Connection: close" 2004-02-19 16:49:50 +00:00
Dmitry Stogov
2d61e3622d WSDL caching bugs were fixed 2004-02-19 16:46:52 +00:00
Dmitry Stogov
0dadb2bbab fix: prevent possible crash 2004-02-19 16:45:25 +00:00
Dmitry Stogov
9ebc56dd50 Passing arguments to "anyType" cause passing type information in literal encoding. Receiver gets sach parameters as SoapVar objects. 2004-02-19 11:32:42 +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
cbec795c0b fix: SoapFault constructor fixed to confirm documentation. 2004-02-18 07:35:34 +00:00
Dmitry Stogov
9cb54cb232 BUGFIX: HTTP chunked transfer-encoding support 2004-02-18 06:58:33 +00:00
Dmitry Stogov
b17eab9a31 Using element namesapces with literal encoding. 2004-02-17 18:54:30 +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
168dc362df Encoding of ommited tail parameters as NULLs 2004-02-17 08:18:53 +00:00
Dmitry Stogov
3e002aa66d specal case of array encoding. If object has only one inner element and this element has max_occurs > 1, then array can be passed directly. 2004-02-16 16:35:59 +00:00
Dmitry Stogov
1350643b8c BUGFIX: incorrect restoring of negative integers from WSDL cache 2004-02-16 16:32:52 +00:00
Dmitry Stogov
939a8d43cf Prevent processing SOAP headers with invalid namespace in WSDL mode. 2004-02-16 12:04:48 +00:00
Dmitry Stogov
6aad56d4a2 fix: prevent of possible crash 2004-02-16 09:56:30 +00:00
Dmitry Stogov
b21756c1ca Source cleanup 2004-02-13 15:19:09 +00:00