Commit Graph

438 Commits

Author SHA1 Message Date
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
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