Граф коммитов

206 Коммитов

Автор SHA1 Сообщение Дата
rayw%netscape.com 43d4539fda Attempts to patch-up incomplete type hierarchy in nsISchema.h, lack
of inheritance among builtins, and lack of AnySimpleType.  Commented
lines will have to eventually be reenabled when AnySimpleType is
produced.

SOAP is not part of default build.
2002-02-15 12:10:03 +00:00
rayw%netscape.com ba192b6e3e Standardize use of Truncate.
SOAP is not part of default build.
2002-02-15 11:35:09 +00:00
rayw%netscape.com 676939544c Whitespace fixes.
SOAP is not part of default build.
2002-02-15 11:02:43 +00:00
rayw%netscape.com e3f8c4ff5c Whitespace fixes.
SOAP is not part of default build.
2002-02-15 10:48:16 +00:00
rayw%netscape.com d5dfe5563b Added whitespace in front of comments.
SOAP is not part of default build.
2002-02-15 10:25:28 +00:00
vidur%netscape.com 4ccb3ba47e Made anyType be the base of array. This is not part of the default build. 2002-02-15 01:54:49 +00:00
vidur%netscape.com bccfef500d Reverted to having a cannonical namespace for schema and SOAP builtin types rather than maintaining two sets of each. For arrays with unspecified xsi:arrayType, the dimension is now 0. 2002-02-15 01:17:27 +00:00
vidur%netscape.com 898e2241e6 Remove linux warnings. This is not part of the default build. 2002-02-15 01:15:51 +00:00
vidur%netscape.com efe6eccdee Correctly deal with nsIVariant in type conversion. This is not part of the default build 2002-02-15 01:14:27 +00:00
rayw%netscape.com c0d95a0fd1 Added error reporting mechanism, and called it in quite a few places. Also
eliminated use of multiple SOAP encoding URIs, and now only rely on the 1.2
with aliasing that can output 1.1.

SOAP is not part of default build.
2002-02-14 23:00:58 +00:00
rayw%netscape.com 086621d628 Changed license header on SOAP files.
SOAP is not part of default build.
2002-02-14 13:36:34 +00:00
rayw%netscape.com 1e4fdc710e Fixed IDL files to not use mozilla-specific types where possible.
Also identified and entered a placeholder solution for variants not being
able to represent an empty array.  also made primenumber test use
verifyheader.

SOAP is not part of default build.
2002-02-14 13:08:25 +00:00
rayw%netscape.com ed1712369c Fixes on arrays, re: bug 121934. Lots of changed needed to permit arrays
to control the types of their children via the information received
from the schema.  But the two critical lines actually getting the
information on the child types from the schema are commented out, because
there are problems with dual hierarchies of schema types that make it
not work as well as it should -- also inability to determine whether
the schema actually specified a type or just gave a nice default.

This also includes fixes to leaks and other problems discovered reviewing
the array code.  This is the first code capable of inferring and encoding
a multi-dimensional array from the nested arrays of JS, where the array
type dictates.  All my tests still work.

SOAP is not part of the default build.
2002-02-14 00:53:46 +00:00
rayw%netscape.com 582ee7dbf3 This is the patch related to bug 71394, needing security checks in SOAP.
Also, substituted 8 spaces for tabs in some SOAP files.  Also updated
soap test files to either request UniversalBrowserRead or use verifySource.

r=mstoltz
SOAP is not part of default build.
2002-02-13 19:13:41 +00:00
jband%netscape.com 6012fe8817 get rid of IsArray. Add onError. NOT PART OF THE BUILD 2002-02-09 02:18:47 +00:00
jband%netscape.com 098847db94 updated tests. NOT PART OF THE BUILD 2002-02-09 02:17:32 +00:00
rayw%netscape.com 3c2d249bd8 Changes to the way schema information is interpreted: First, acknowledging
that both complex types and simple restriction types may have base types,
and secondly acknowledging that complex types may have simple content models.

SOAP is not a part of the default build.
2002-02-07 11:40:40 +00:00
jband%netscape.com c56ab16f35 fix array support. NOT PART OF THE BUILD 2002-02-07 04:37:24 +00:00
jband%netscape.com 14ba0b02a9 fix windows bustage - not part of default build 2002-02-07 04:10:04 +00:00
jband%netscape.com 320656674b update of test. NOT PART OF THE BUILD 2002-02-07 03:57:33 +00:00
jband%netscape.com 4b61cdcb14 initial checkin of test. NOT PART OF THE BUILD 2002-02-07 03:56:45 +00:00
rayw%netscape.com 9db9d11f19 Added code to properly decode multi-dimensional arrays as nested arrays
in XPCOM.  Unfortunately, there is no way to test this because Apache
SOAP servers do not seem to produce them in any simple configuration
because Java does not support multidimensional arrays.  I will be writing
code to test this later as I add support for encoding multi-dimensional
arrays, as specified by a schema type, which I can then decode without
actually sending / receiving a message, but I need to put this fix back
now.  At least I didn't break decoding of single-dimensional arrays.

SOAP is not part of default build.
2002-02-07 03:02:59 +00:00
vidur%netscape.com 80e9ee5924 More feedback during test. This is not part of the default build. 2002-02-06 22:10:39 +00:00
vidur%netscape.com 8171a995e8 Support for both schema namespaces. This is not part of the default build. 2002-02-06 22:09:22 +00:00
vidur%netscape.com a2b08c6365 Support for string and wstring types. Array handling fixes and simplification. This is not part of the default build. 2002-02-06 22:07:53 +00:00
vidur%netscape.com dc28f6c7ab Sharing of builtin types across loaders. Complex types now know when they are array and expose their array type and dimension. This is not part of the default build. 2002-02-06 22:06:10 +00:00
peterv%netscape.com a5d896f2b5 Keep SOAP compiling on Mac. Not part of the build, rs=vidur. 2002-02-06 12:56:31 +00:00
vidur%netscape.com 6c208b4066 Fix for bug 122305. XMLHttpRequest now has a way to override the mime type of the incoming stream. r=heikki, sr=jst 2002-02-05 02:10:52 +00:00
jband%netscape.com c9bbfec353 Add C++ string support includes needed when AString params are used - NOT PART OF DEFAULT BUILD 2002-02-02 22:33:16 +00:00
jband%netscape.com 08579ef630 Initial checkin of WSDL -> xpcom interface info translator quick test - NOT PART OF THE BUILD 2002-02-02 22:31:12 +00:00
jband%netscape.com c305792337 Commiting accumulated interface info extensions changes. NOT PART OF THE BUILD 2002-02-02 22:18:56 +00:00
jband%netscape.com 8fd3d26083 Initial checkin of WSDL -> xpcom interface info translator. - NOT PART OF THE BUILD 2002-02-02 21:37:23 +00:00
rayw%netscape.com bc4ff1a138 Converted tests to use new names for services on my soap server.
SOAP is not part of default build.
2002-02-02 15:42:27 +00:00
rayw%netscape.com c907612d99 A variety of bug fixes in SOAP, most notably, eliminating 1999 schema
types.

SOAP is not part of default build.
2002-02-02 01:47:27 +00:00
vidur%netscape.com ec0d4e37f1 Scoping rules seem to be different on windows and linux. Fixed compiler error on windows. This is not yet part of the default build. 2002-02-02 01:32:04 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
rayw%netscape.com 1052d001e8 A number of SOAP bug fixes including fixing problems with fault handling,
using wstrings instead of astrings for  arrays, and ignoring the http
status and returning a fault code when there is one.

SOAP is not part of default build.
2002-01-30 17:40:06 +00:00
rayw%netscape.com b5bd72da93 Fixed handling of conflicting type information.
SOAP is not part of the default build.
2002-01-25 23:38:57 +00:00
rayw%netscape.com 1d03f82e88 Added code to carefully follow the XMLSchema info when encoding and decoding
xpconnect objects, rejecting errors, and making sure that the child elements
appear in the correct order.

SOAP is not part of the default build.
2002-01-24 17:32:04 +00:00
rayw%netscape.com 6f3e337cbd Cleaned up handling of structs into its own encoder / decoder class so
that it will be easier to add all the schema type checking there.  Also
made this handler QI to nsIPropertyBag instead of expecting it to be the
type of the variant.

SOAP is not part of default build.
2002-01-24 11:26:35 +00:00
rayw%netscape.com 212bb6a3e2 Handle decoding of simple unknown types as strings, otherwise as variants
within arrays.

SOAP is not part of default build.
2002-01-24 02:57:31 +00:00
rayw%netscape.com 88bd0eb13e Added more array support for nested types in arrays.
SOAP is not part of default build.
2002-01-24 02:39:08 +00:00
rayw%netscape.com 1d4585461f Added encoding of untyped arrays. Fixed test html.
SOAP is not part of default build.
2002-01-24 01:14:25 +00:00
jband%netscape.com 15c237c01a fix Windows bustage -- NOT PART OF DEFAULT BUILD -- 2002-01-23 02:06:06 +00:00
jband%netscape.com fe09cd220b New file to test scriptable interface info wrapper and idl generator stuff. -- NOT PART OF THE BUILD -- 2002-01-21 18:43:32 +00:00
jband%netscape.com 9bc0dabcde Don't assume that GetInfoForParam can't fail. see bug 121118. -- NOT PART OF THE BUILD -- 2002-01-21 18:41:37 +00:00
jband%netscape.com 420d6afe04 Convert nsInterfaceInfoToIDL into a JS component. -- NOT PART OF BUILD -- 2002-01-19 21:53:51 +00:00
rayw%netscape.com 85845b7611 Fixed infinite loop in struct decoding, added test case for struct decoding.
SOAP is not part of default build.
2002-01-18 23:09:15 +00:00
rayw%netscape.com 6b895fc9e3 Added an error check and a test case that does not work, yet, because
xpconnect is saying that an array is an interface, I think.

SOAP not part of default build.
2002-01-18 20:09:06 +00:00
rayw%netscape.com 611c287062 Description Change.
Not part od default build.
2002-01-18 18:47:22 +00:00
rayw%netscape.com b9c7f54d6d Fixes to the test.
SOAP is not part of default build.
2002-01-18 18:44:13 +00:00
rayw%netscape.com ac61369e2b Made another test work, with a couple of bug fixes.
SOAP is not part of default build.
2002-01-18 18:28:37 +00:00
rayw%netscape.com d4fc82cfb8 Fixed type handling when decoding nested arrays. 2002-01-18 15:09:58 +00:00
rayw%netscape.com f1cdd08399 Fixed name of sparse array offset attribute.
Not part of default build.
2002-01-18 14:30:11 +00:00
rayw%netscape.com 978b6738dd Added most of implementation of decoding of multidimensional arrays. The
only thing missing is proper construction of a variant.  I will consult
with John.

Not part of default build.
2002-01-18 14:17:03 +00:00
rayw%netscape.com b734d1d7a1 Added untested decoding of arrays. Did not break tests.
SOAP is not part of default build.
2002-01-18 03:01:06 +00:00
rayw%netscape.com 37a9b286d0 Remove spurious test lines unintentionally committed.
Not part of default build.
2002-01-17 12:57:35 +00:00
rayw%netscape.com 04efa3446e Changed aliasing of propertiesto fix JS visibility of property bag.
Not part od default build.
2002-01-17 12:54:24 +00:00
rayw%netscape.com ad56175323 Added untested code to encode a property bag. Untested and I don't really
know how the property bag will come to me.  Did not break anything.

SOAP is not part of default build.
2002-01-17 07:23:31 +00:00
rayw%netscape.com fc6291f0a6 Added untested code for decoding untyped complex objects. Didn't break
isprimenumber.

SOAP is not part of default build.
2002-01-17 05:39:57 +00:00
rayw%netscape.com 838700542b Reformatted files to eliminate bad tabs. Added nsISOAPPropertyBag, which
is not working perfectly WRT XPConnect, but broke nothing else.  Also
added mutator and su[pporting classes.

SOAP is not part of default build.
2002-01-17 03:23:06 +00:00
jband%netscape.com fda30fe986 initial checkin of support for scriptable wrappers around interface info and for generic interface info sets that can be manually populated - NOT PART OF THE BUILD 2002-01-15 22:22:16 +00:00
rayw%netscape.com 892ec82f97 Changes to use contractid's for construction wherever available. This means
that the JS binding will work correctly.  Also removed old security model.


SOAP is not a part of default build.
2002-01-09 02:17:17 +00:00
vidur%netscape.com 00c6d3ed8a Added wsexception.cpp. Creation of components is now done through a factory and an Init method. Fixed array case of conversion to not wrap elements as variants. Further work on proxy and call context to get proxy test working [not part of build] 2002-01-09 01:29:32 +00:00
vidur%netscape.com 7c0adc3167 Changed testing code to be a component with a JS driver rather than an executable. Added first pass of proxy test. [not part of build] 2002-01-09 01:27:44 +00:00
vidur%netscape.com f52421a312 Try to determine and record SOAP version. [not part of build] 2002-01-09 01:26:48 +00:00
vidur%netscape.com 410fb06eef Record schema namespace since there are at least 2. [not part of build] 2002-01-09 01:26:22 +00:00
vidur%netscape.com 3e41151421 Added dimensions to arrayType attribute in encoding process. [not part of build] 2002-01-09 01:25:46 +00:00
rayw%netscape.com fb93a54e63 Fix for undefined symbol under Linux. Eliminated proxy/test due to
Makefile.in problems.  Added ability for a specific version of SOAP
(Encoding) to deal with either version of Schema URI if it is
explicitly specified.

SOAP is not part of the default build.
2002-01-08 22:11:57 +00:00
peterv%netscape.com 26899eab0b Keep SOAP building on mac. Not part of the default build. 2002-01-04 08:49:27 +00:00
vidur%netscape.com efb02ac8d3 Improved usability of test. 2002-01-02 23:29:46 +00:00
vidur%netscape.com 25fe20a199 Addition of SOAPParameter class and contractID, minor fixes to encoding code. This is not part of the build. 2002-01-02 23:29:12 +00:00
vidur%netscape.com e21e8e2a6c Introduction of SOAP message binding and addition of convenience methods. This is not part of the build. 2002-01-02 23:27:41 +00:00
vidur%netscape.com 8de43b95df Default builtin types always return correct schema namespace. This is not part of the build. 2002-01-02 23:26:37 +00:00
vidur%netscape.com 24e69470e3 Introduction of special SOAP types. Acceptance of pre-release schema namespace. 2002-01-02 23:25:35 +00:00
vidur%netscape.com 36c4123911 Removal of DOS linefeeds. Child iterator can take multiple allowed namespaces. This is not part of the build. 2002-01-02 23:24:39 +00:00
vidur%netscape.com 27ec7c323e First implementation of proxy and call context, movement of variant to parameter code, interface improvements. This is not part of the default build. 2002-01-02 23:23:09 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rayw%netscape.com a65318c70d Minor fixes to namespace URI's in SOAPUtils, and fault handling in test.
SOAP is not part of the default build.
2001-12-18 12:10:33 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
rayw%netscape.com 9bf1ec9850 Following Johnny's suggestions to cancel outstanding requests and make the
number black before issuing additional requests.

Not part of default build.
2001-12-07 23:20:06 +00:00
jst%netscape.com a7a30140b7 Make this test use async soap call and make it work for numbers that don't fit in a JS int. 2001-12-07 22:55:41 +00:00
rayw%netscape.com 6bc2fdb948 Coerce type to integer. SOAP is not part of default build. 2001-12-07 22:04:25 +00:00
rayw%netscape.com 5a78a34cbf Fixes to the way SOAP encodings are tied to the XML elements.
Not part of default build.
2001-12-07 18:56:19 +00:00
rayw%netscape.com bc5d878343 Minor fix and update to primes test.
Not part of default build.
2001-12-07 06:47:06 +00:00
rayw%netscape.com a444aada8a Added self-ref to completion object when it has relelased the request
object but still needs to deliver listenerr callback.

SOAP is not part of default build.
2001-12-07 05:22:28 +00:00
rayw%netscape.com 31de90e964 More fixes to SOAP. Not part of default build. New test file. 2001-12-07 04:08:01 +00:00
rayw%netscape.com 337fb6f519 Fixed argument check in SOAP.
Not part of default build.
2001-12-07 02:13:34 +00:00
jst%netscape.com b67c735146 Adding missing NS_INIT_ISUPPORTS to a constructor, cleaning up some out parameter setting code... 2001-12-07 02:02:15 +00:00
jst%netscape.com 55f6f9f6b8 Fixing refcounting problem in the soap code, not part of the default build. 2001-12-07 01:48:23 +00:00
rayw%netscape.com c69fc96d56 Added version support to SOAP so that calls may be invoked with level 1.1 or
level 1.2 support (needed to build tests).  Also added support for https.
Misc fixes.

Not part of default build.
2001-12-06 22:30:33 +00:00
rayw%netscape.com 90c944e251 Added DEBUG code to log messages sent and received by SOAP.
Not part of default build.
2001-12-06 02:09:04 +00:00
rayw%netscape.com 4b69f3b1f4 Fixed problem compiling on windows in SOAP.
Not part of default build.
2001-12-06 00:26:35 +00:00
rayw%netscape.com 3eb3353b87 More fixes to strings, and changed encoding to support a single string
lookup key instead of two for better genericity and efficiency.
2001-12-05 00:10:07 +00:00
rayw%netscape.com 0cb64f7b12 Changed string literals in nsSOAPUtil.h yet again. Perhaps this fixes
the strings that had stopped working on various plaatforms.

Not part of default build.
2001-12-04 21:42:13 +00:00
rayw%netscape.com 48824e5c20 Fixed errors in mustUnderstand attribute of header block.
Not part of default build.
2001-12-01 00:03:57 +00:00
rayw%netscape.com f1abc19a37 Gave more SOAP objects xpconnect behaviors. 2001-11-30 23:32:53 +00:00
rayw%netscape.com ca53676a88 Fixed most SOAP issues brought up by reviewer. Added completion object.
Inherited SOAPParameter and SOAPHeaderBlock from SOAPBlock, improved
error condition handling, improved comments.

Not part of default build.
2001-11-30 22:53:16 +00:00
rayw%netscape.com dbdaa6bfeb Added "function" keyword to permit function to be passed as a SOAP response
listener.

Not part of default build.
2001-11-29 18:20:11 +00:00
rayw%netscape.com bcc98fe046 There were obsolete XML Schema URIs left from the old code. Updated to the
latest XML Schema specification -- 2001 URIs.  Also fixed the namespace of the
type attribute.

Not part of default build.
2001-11-29 17:30:55 +00:00