Commit Graph

265 Commits

Author SHA1 Message Date
Dmitry Stogov
eef44c609b Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:29:15 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Dmitry Stogov
88edad9f08 Fixed bug #35091 (SoapClient leaks memory) 2005-11-07 10:05:35 +00:00
Dmitry Stogov
4a6faadcce Fixed memory leak in ZTS mode 2005-10-19 07:54:53 +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
4329db25a1 Fixed bug #34643 (wsdl default value has no effect) 2005-09-27 15:25:10 +00:00
Dmitry Stogov
90236679e9 Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) 2005-09-12 08:24:01 +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
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +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
61d6c4e616 Fixed SIGSEGV during error processing on some systems (linux/ppc) 2005-07-06 06:58:44 +00:00
Brian France
cd8adc0cf2 ifdef'ed the code but not the includes 2005-06-16 22:35:11 +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
dac8f964f2 Fixed usage of uninicialized variable 2005-05-31 14:35:55 +00:00
foobar
9b57f5ff36 - Fixed bug #33185 (--enable-session=shared does not build) 2005-05-30 15:14:12 +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
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
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
713622d363 Fixed SoapFault::details passing 2005-03-20 09:55:47 +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
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
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
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
Ilia Alshanetsky
df4911561b Fixed possible usage of un-initialized variable. 2004-11-16 21:04:10 +00:00
Dmitry Stogov
a9a5dbd9b8 Class mapping was implemented (Bug #29385 Soapserver always uses std class). 2004-11-16 12:07:32 +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
Dmitry Stogov
7a149080d8 Fixed crash with SoapFault and register_shutdown_function(). 2004-09-16 08:12:27 +00:00
Dmitry Stogov
2a63e78eed Fixed possible crash 2004-09-15 10:43:07 +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
Marcus Boerger
621795ef4b Fix __call's method signature 2004-09-09 09:53:53 +00:00
Dmitry Stogov
855f3591a6 Memory leaks were fixed 2004-08-26 18:52:57 +00:00
Dmitry Stogov
6078001f12 Merged bug fixes from PHP_5_0. 2004-08-26 12:24:54 +00:00
Dmitry Stogov
de46ba2ea5 Fixed bug #28969 (Wrong data encoding of special characters). 2004-08-10 16:11:41 +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
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
Dmitry Stogov
d9226a1dd0 Support for HTTP redirection. 2004-06-21 12:56:33 +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
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
0d42248ad8 Calls to zend_exception_error() were removed. 2004-04-15 09:35:27 +00:00
Dmitry Stogov
6f6ef6deed SoapClint support for multiple hosts (through WSDL) with cookies. 2004-04-02 11:12:44 +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
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
32b6d2fbf8 HTTP compression support (gzip and deflate) 2004-02-25 14:04:41 +00:00
Dmitry Stogov
0b0eb80fdf WSDL support for <soap:headerfault> was implemented 2004-02-24 15:06:42 +00:00
Dmitry Stogov
0dadb2bbab fix: prevent possible crash 2004-02-19 16:45:25 +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
7edf9bc2c3 support for XMLSchema <element> nillable attribute 2004-02-17 15:10:16 +00:00
Dmitry Stogov
168dc362df Encoding of ommited tail parameters as NULLs 2004-02-17 08:18:53 +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
b21756c1ca Source cleanup 2004-02-13 15:19:09 +00:00
Dmitry Stogov
81af85c380 Old in-memory WSDL cache was removed (it was already switched off by #ifdef) 2004-02-13 11:03:58 +00:00
Dmitry Stogov
dcb3189df2 SoapClient::__getTypes and SoapClient::__getFunctions were fixed to return proper information 2004-02-13 08:30:13 +00:00
Dmitry Stogov
69eb0041b1 fix: possible crash was fixed 2004-02-12 16:41:58 +00:00
Zeev Suraski
30171a7590 zend_default_classes.h -> zend_exceptions.h 2004-02-12 10:43:27 +00:00
Dmitry Stogov
07e3413e99 Using zend_throw_exception_object() instead of EG(exception). 2004-02-12 10:39:20 +00:00
Dmitry Stogov
6096b09159 Now SoapClient uses excptions as default method for error reporting 2004-02-11 13:53:50 +00:00
Dmitry Stogov
20add786ae WSDL caching was implemented 2004-02-10 13:41:21 +00:00
Dmitry Stogov
a55f6cb66c Allowing to report SOAP Fault with "return new SoapFault(...)" 2004-02-09 09:31:18 +00:00
Dmitry Stogov
3b19e196fa Allowing to pass request to SoapServer::handle direct (not through $HTTP_RAW_POST_DATA). 2004-02-09 07:51:07 +00:00
Dmitry Stogov
59ab20b23b optimization 2004-02-06 16:52:14 +00:00
Dmitry Stogov
6ae97a5b25 WSDL cache was disabled by default (see WSDL_CACHE macro)
WSDL related memory leaks were fixed
2004-02-06 14:22:33 +00:00
Dmitry Stogov
88c1168941 Free XML documents after WSDL parsing (they no longer need). 2004-02-06 11:56:03 +00:00
Dmitry Stogov
c22d7cf883 PHP5 and WIN32 support was improved 2004-02-06 08:01:35 +00:00
Dmitry Stogov
508273780c PHP API was changed (see readme.html for more details). 2004-02-05 20:26:05 +00:00
Dmitry Stogov
2c1dcf32a0 WSDL parsing speedup. Source cleanup. 2004-02-05 09:28:09 +00:00
Dmitry Stogov
62572919d8 SoapServer::fault() method was implemented
Unnecesurry namespaces was removed form SOAP fault responces
2004-02-04 16:49:48 +00:00
Dmitry Stogov
9fa7d1c24a SOAP Headers was implemented (near complete) 2004-02-04 14:46:12 +00:00
Dmitry Stogov
75e4f43d0c Initial support for client-part SOAP headers (very incomlete) 2004-02-03 16:44:57 +00:00
Marcus Boerger
b1c77fcce3 TSRM fixes 2004-02-02 21:27:13 +00:00
Dmitry Stogov
840526f1d3 Server-part support for SOAP Headers was implemented (incomplete) 2004-02-02 16:19:39 +00:00
Dmitry Stogov
4b74d4fbba Server part support for "document" style encoding was implemented 2004-01-30 16:32:53 +00:00
Dmitry Stogov
b81645edd3 SOAP 1.2 specification conformity was improved 2004-01-30 15:07:19 +00:00
Dmitry Stogov
c33d480386 PHP4 support
HTTP proxy support for PHP4
Using persistent PHP streams for HTTP connections
2004-01-29 15:11:16 +00:00
Dmitry Stogov
e439a1af7f fix: "Authors" corrected 2004-01-29 11:51:11 +00:00
Dmitry Stogov
5ab77a9268 Support for HTTP proxies was implemented 2004-01-29 11:26:52 +00:00
Derick Rethans
9d2f84e411 - Add our standard header 2004-01-29 09:27:06 +00:00
Dmitry Stogov
49b9c59518 Support for nonWSDL mode was improved (SoapVal,SoapVar,SOAPAction...) 2004-01-29 09:03:28 +00:00
Dmitry Stogov
6cf3c8586e Error reoprting improved by prefix
New 'HTTP' fault code
Source cleanup
2004-01-28 16:47:49 +00:00
Dmitry Stogov
2238e4b9f0 Add namespaces to <Envelope> (not ot subnodes) 2004-01-28 13:30:21 +00:00
Dmitry Stogov
a6c94a8bf9 SOAP Fault uses HTTP status code 500 2004-01-27 15:49:34 +00:00
Dmitry Stogov
6eeec41c4d fix: error handling 2004-01-27 10:24:48 +00:00
Dmitry Stogov
1e5ebeb95d Support for SOAP 1.2 Fault/Code/Value and Fault/Reason/Text 2004-01-26 17:11:05 +00:00
Dmitry Stogov
9387d78fd0 SOAP 1.2 Fault support (Code,Reason,Datail instead of faultcode,faultstring,...) 2004-01-26 16:19:29 +00:00
Dmitry Stogov
fbead642ad Support for SOAP 1.2 RPC binding (<rpc:result>) 2004-01-26 15:13:45 +00:00
Dmitry Stogov
e3cfa02b4e XML Schema support (decoding of xsi:nil with attributes)
Source Cleanup
2004-01-26 09:51:07 +00:00
Dmitry Stogov
67886b8321 XML Schema support
- support for <element> 'ref' attibute was implemented
  - support for inline types
  - support for <list> and <union> (incompleate)
2004-01-20 16:30:38 +00:00
Dmitry Stogov
a68777e954 XML Scheam support 2004-01-19 07:22:53 +00:00
Marcus Boerger
a5d11dc943 Fix refcounting in ZE2 2004-01-19 00:26:33 +00:00
Marcus Boerger
ba4c4cddc2 Fix some warnings 2004-01-19 00:10:41 +00:00
Marcus Boerger
a7974a876e Fix memory corruption 2004-01-18 23:22:20 +00:00
Dmitry Stogov
1dcf2467cf WSDL support was improved
support for message/part element attribute was implemented
 support for portType operation input/output name attribute was implemented
2004-01-16 12:31:10 +00:00
Dmitry Stogov
9bf8d5bfe9 faultcode/faultstring mismatch was fixed 2004-01-16 07:55:27 +00:00
Dmitry Stogov
ad648d82e5 SOAP 1.2: enc:id & enc:ref attributes support and fault codes (Sender/Receiver) where implemented 2004-01-16 07:11:59 +00:00
Dmitry Stogov
d0f5bd0b68 SOAP 1.2 support was improved 2004-01-15 16:56:29 +00:00
Dmitry Stogov
7c01c773b0 Support for SOAP 1.2 array encoding/decoding was implemented 2004-01-15 13:20:58 +00:00
Dmitry Stogov
ef9e734593 SOAP 1.2 support was improved 2004-01-15 10:59:24 +00:00
Dmitry Stogov
fb52edb194 SOAP 1.2 support was improved 2004-01-15 08:38:14 +00:00
Dmitry Stogov
fc69cc8ccf SOAP message must not contain a Document Type Declaration 2004-01-14 15:35:27 +00:00
Dmitry Stogov
8f0ea19fcb WSDL: encoding rpc/document and encoded/literal 2004-01-14 12:49:02 +00:00
Dmitry Stogov
3961fec217 Source ceanup 2004-01-13 15:58:01 +00:00
Dmitry Stogov
98ff80dba9 WSDL: support for multiple services/ports/bindings was implemented 2004-01-13 13:50:09 +00:00
Dmitry Stogov
fceb95f12a XML parsing warnings and notices were disabled. 2004-01-13 09:31:50 +00:00
Dmitry Stogov
51c86ab73f Support for WSDL <operation> without <input> message 2004-01-13 07:59:13 +00:00
Dmitry Stogov
a02de43dbb Small error reporting fixes 2004-01-12 15:15:26 +00:00
Dmitry Stogov
29fe458872 WSDL support: support for wsdl import 2004-01-12 11:46:01 +00:00
Dmitry Stogov
170476d9ea BUGFIX: server006.phpt 2004-01-10 09:27:52 +00:00
Dmitry Stogov
9a3cdc6491 Source cleanup. 2004-01-09 18:22:03 +00:00
Dmitry Stogov
d9328fb38e BUGFIX: close string with smart_str_0() 2004-01-09 16:35:04 +00:00
Wez Furlong
5e57f973cc let soap build with php5 2004-01-09 15:31:09 +00:00
Ilia Alshanetsky
577439e975 Fixed build. 2004-01-09 14:23:35 +00:00
Dmitry Stogov
792b0e8f0b SOAP Encoding/Decoding were improved. 2004-01-09 14:16:30 +00:00
Ilia Alshanetsky
f5a3f25159 Fixed compile failure of session extension is not present. 2004-01-09 01:05:01 +00:00
Dmitry Stogov
dd5ce0c4d7 SOAP versioning model was implemented (support for SOAP 1.1 and SOAP 1.2) 2004-01-08 15:27:50 +00:00
Dmitry Stogov
ecbad181b9 HTTP Authentication was implemented 2004-01-08 09:56:49 +00:00
Dmitry Stogov
107a87ca85 WSDL support was improved 2004-01-06 17:14:30 +00:00
Dmitry Stogov
de6184edee PHP5 support, better encoding and WSDL support, interop round 2 base and groupB 2004-01-05 16:44:01 +00:00
Alan Knowles
0e2f675c87 fixes to enable module building 2003-03-14 02:08:30 +00:00