Dmitry Stogov
ae8d24392e
Fixed bug #38004 Parameters in SoapServer are decoded twice
2006-07-10 07:23:12 +00:00
Rasmus Lerdorf
9e0cedcdd6
Optimize the other string conversion functions here to just create raw
...
text nodes.
2006-06-15 22:44:55 +00:00
Rasmus Lerdorf
c0c6e9944f
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. As far as I can tell
all the tests pass with this patch.
2006-06-15 18:03:30 +00:00
Dmitry Stogov
2fd6c8607a
Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24)
2006-05-26 09:04:54 +00:00
Andrei Zmievski
f7881d3fe2
MFB
2006-04-17 16:09:42 +00:00
Dmitry Stogov
1c4d488cc8
Fixed bug #36908 (wsdl default value overrides value in soap request).
2006-04-10 13:29:57 +00:00
Andrei Zmievski
909a0f5cd0
MFB
2006-04-09 23:38:30 +00:00
Antony Dovgal
0b0fff07b2
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Dmitry Stogov
1facee1b94
Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies)
2006-03-03 09:20:51 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
ba96a4032c
typo
2006-02-06 13:17:20 +00:00
Dmitry Stogov
edbb459290
Bug #36226 Inconsistent handling when passing potential arrays
2006-02-02 11:42:12 +00:00
Dmitry Stogov
d4a61bb8de
Fixed encoding of inhereted objects
2006-02-01 17:18:38 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Dmitry Stogov
c548f7d610
Fixed possible SIGSEGV (Rob Richards)
2005-12-09 15:28:57 +00:00
Dmitry Stogov
84bcd9ac96
Fixed bug #35142 (SOAP Client/Server Complex Object Support)
2005-11-08 08:36:50 +00:00
Dmitry Stogov
d846b5382d
Fixed SIGSEGV
2005-11-01 11:11:19 +00:00
Dmitry Stogov
e00b9ab746
Fixed bug #32455 (wrong setting property to unset value)
2005-10-11 10:16:03 +00:00
Dmitry Stogov
c8f43c67d0
Fixed bug #34788 (SOAP Client not applying correct namespace to generated values)
2005-10-09 12:42:06 +00:00
Dmitry Stogov
f60b382906
Fixed bug #34787 (SOAP Client not handling boolean types correctly)
2005-10-09 11:06:09 +00:00
Dmitry Stogov
5d4a602eaa
Reverted last George patches
2005-10-07 08:21:37 +00:00
George Schlossnagle
90de6c8216
Permit correct usage of inherited encoders (from restriction/extension
...
"base" directives) for xml response decoding.
2005-10-07 05:14:31 +00:00
George Schlossnagle
6ca9ed38e4
support complex types in restrictions and extensions
2005-10-06 22:30:08 +00:00
Dmitry Stogov
4dd3b9436a
Fixed wrong array autodetection
2005-09-29 10:00:59 +00:00
Dmitry Stogov
fe88b03b99
ZTS fix
2005-08-25 06:50:16 +00:00
Dmitry Stogov
47539d32d0
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:27 +00:00
Marcus Boerger
4a43e9c812
- TSRM Fix
2005-08-16 20:15:21 +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
Marcus Boerger
b1c77fcce3
TSRM fixes
2004-02-02 21:27:13 +00:00
Dmitry Stogov
a70a620a01
fix: proper handling of SOAP 1.1 href and unresolved attributes references
2004-02-02 17:39:10 +00:00
Dmitry Stogov
b81645edd3
SOAP 1.2 specification conformity was improved
2004-01-30 15:07:19 +00:00
Dmitry Stogov
e439a1af7f
fix: "Authors" corrected
2004-01-29 11:51:11 +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
3787c94c2a
XML Schema support was improved
...
support for <attribite> default and fixed values
support for encoding of list elements
2004-01-27 10:23:20 +00:00
Dmitry Stogov
c25df9d8c6
fix
2004-01-26 17:14:07 +00:00
Dmitry Stogov
fd773c92cb
fix: memory leaks
2004-01-26 16:20:19 +00:00
Dmitry Stogov
adb3562d8e
XML Schema support was improved
...
support for unsignedLong standard type was fixed
restrictions checking was disabled
support for standard list types (IDREFS, IDS, NOTATIONS)
2004-01-26 15:12:34 +00:00
Dmitry Stogov
e3cfa02b4e
XML Schema support (decoding of xsi:nil with attributes)
...
Source Cleanup
2004-01-26 09:51:07 +00:00
Marcus Boerger
8045b9c6fd
TSRM fix
2004-01-24 17:07:50 +00:00
Dmitry Stogov
695436b709
XML Schema support was improved
...
support for type extension
support for attribute encoding/decoding
support for SOAP 1.2 array encoding/decoding
2004-01-23 14:43:15 +00:00