Commit Graph

193 Commits

Author SHA1 Message Date
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
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
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
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
Dmitry Stogov
99356595df Fixed possible crash with default namespaces 2006-10-03 07:00:35 +00:00
Dmitry Stogov
f5d7dac35d Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:42:52 +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
c389a653f7 Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:21:41 +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
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
07d7750487 Fixed bug #36908 (wsdl default value overrides value in soap request). 2006-04-10 13:29:48 +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
622347bd8c Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies) 2006-03-03 09:20:33 +00:00
Dmitry Stogov
a7c845ffcb typo 2006-02-06 13:17:06 +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
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Dmitry Stogov
eef44c609b Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:29: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
e98a40f1fa Fixed SIGSEGV 2005-11-01 11:11:35 +00:00
Dmitry Stogov
bb8e5de181 Fixed bug #32455 (wrong setting property to unset value) 2005-10-11 10:15:40 +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
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
e2599c3dbf Fixed wrong array autodetection 2005-09-29 10:02:11 +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
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
Dmitry Stogov
c9103e18b0 Automatic encoding/decoding of hexbin data type (base64 support is improved) 2005-08-08 09:53:58 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +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
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
68289c4759 ext/soap should use type defined in SoapVar(), if wsdl defines another type 2005-06-21 06:24:55 +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
b41a7ad18a Fixed bug #32941 (Sending structured SOAP fault kills a php) 2005-06-01 14:43:13 +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
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
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
2283e471f8 windows compatibility fix 2005-03-23 15:12:54 +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
eff0d65240 Fixed bug #32115 (dateTime encoding of timezone incorrect) 2005-03-05 13:27:13 +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
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
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
Marcus Boerger
ace462334e Fix TSRM build 2004-09-26 21:45:17 +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
f93560ddc9 Using php_libxml_xmlCheckUTF8() from ext/libxml. 2004-09-10 08:59:45 +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
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
de46ba2ea5 Fixed bug #28969 (Wrong data encoding of special characters). 2004-08-10 16:11:41 +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
40bb734452 Some small improvments, support for new style constructors, support for exceptions other then SoapFault 2004-04-01 10:47:44 +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
b1fa3214f0 fix: XMLSchema <choice> support was improved to support elements with minOccurs=0 2004-02-25 14:34:50 +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
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
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
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
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
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
9b29737f44 BUGFIX 2004-02-13 08:29:11 +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
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
2c1dcf32a0 WSDL parsing speedup. Source cleanup. 2004-02-05 09:28:09 +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