181 Commits

Author SHA1 Message Date
rayw%netscape.com
f751fc8fb7 This is the fix to bug 72900, r=heikki, sr=vidur, a=asa. This fix adds
an override to cause all SOAP responses to be parsed as XML, whatever the
reported MIME type is.

r=heikki, sr=vidur, a=asa for checkin to the 0.9.9 branch and the 1.0 trunk.


git-svn-id: svn://10.0.0.236/trunk@116200 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 22:12:38 +00:00
cbiesinger%web.de
fefb97b01b bug 127419 r=rayw sr=jst a=asa
fix build warning in nsDefaultSOAPEncoder.cpp


git-svn-id: svn://10.0.0.236/trunk@115977 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:07:24 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
mkaply%us.ibm.com
4a27c314c5 More OS/2 SOAP bustage - PR_CALLBACK, false
git-svn-id: svn://10.0.0.236/trunk@115230 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:24:58 +00:00
rayw%netscape.com
bac653e3fe Trying the safer version of the bustage fix. Last reviewed by jst, but
that version busted, I think this cannot fail.


git-svn-id: svn://10.0.0.236/trunk@115220 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:02:19 +00:00
rayw%netscape.com
cac7132437 Reverting ineffective patch.
Busted another build.


git-svn-id: svn://10.0.0.236/trunk@115219 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:48:07 +00:00
rayw%netscape.com
475853fda0 This is an attempt to fix bustage on OS/2. It was some coded added to
satisfy Mac, which busted OS/2. sr=jst.  Bug #127199.


git-svn-id: svn://10.0.0.236/trunk@115218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:08:02 +00:00
rayw%netscape.com
11169260e5 Bustage fix. PRBool instead of bool, making OS2 red, fix to go green.
git-svn-id: svn://10.0.0.236/trunk@115199 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:09:21 +00:00
rayw%netscape.com
cf263a055c This, with the one-liner Peter checks in, completely closes bug 107795.
r=heikki, sr=vidur, sr=jband, a=shaver.

This eliminates the MOZ_SOAP defining and checking from the makefiles,
from one .cpp file for conditional compiles, and from .html documentation
and tests (.html is only significant to human readers).

this enables SOAP in the default build, and has been tested on all
clean builds.


git-svn-id: svn://10.0.0.236/trunk@115174 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:15:08 +00:00
peterv%netscape.com
5c98780877 Interface got renamed as part of bug 119382, rename in implementation too. Bustage fix for iiextras. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115154 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 14:28:52 +00:00
dbradley%netscape.com
4c972e2fbe Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
rayw%netscape.com
eb30dee02f Added conditional in makefiles and build module to enable or disable
MOZ_WSP.  This was only done inside of the MOZ_SOAP defines.  Tested
build with and without SOAP define.  This permits SOAP to be built
without web service proxies.  Related to bug 107795, but needed
whether or not SOAP becomes part of default build.

sr=vidur.  SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114842 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:38:07 +00:00
rayw%netscape.com
0b52cd743b More edits, fixes, beautification, links, TOC.
This is documentation, and not part of any build.


git-svn-id: svn://10.0.0.236/trunk@114806 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 18:44:16 +00:00
peterv%netscape.com
075241850f Keep SOAP building on Mac (Need to cast the NS_LITERAL_STRING to const nsAString& to make it compile on CW on Mac). Not part of the build.
<jag> Forte sucks.


git-svn-id: svn://10.0.0.236/trunk@114802 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:54:39 +00:00
rayw%netscape.com
70ab7629d2 More edits and beautification.
SOAP, and especially this document, is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114795 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 14:44:56 +00:00
rayw%netscape.com
81dd7bbf15 I found three small but important errors in type identification processes.
Two of them involve the missing classes Struct and AnySimpleType, which I
have been able to fake out.  The third involves the identification of the
type of the array.  When identifying the type of a variant, interface means
that it contains a struct.  but I was using the same method to identify the
type of an array, where interface always means you don't know the type (since
variants show up as interfaces in this case and even nested arrays are
variants).

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114765 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 03:46:45 +00:00
rayw%netscape.com
8ca972219b More fixes to docs.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114759 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:40:50 +00:00
rayw%netscape.com
37b02d7cfc Yet another much-improved version of the SOAP documentation.
SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114757 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 00:17:09 +00:00
rayw%netscape.com
82dad72e79 More edits and enhancements of the SOAP API documentation...
SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@114739 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 18:08:26 +00:00
rayw%netscape.com
56d97799b2 Checking in first stab at SOAP API documentation.
This file is not presently built, and SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114707 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:57:58 +00:00
rayw%netscape.com
2c5c9121b8 Added check for null schema type being passed in. Also made the type
not specified where it was AnyType or could be trivially derived from
the element name and namespaceURI being used.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114688 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 12:25:11 +00:00
rayw%netscape.com
2094e0931d Last issues for SOAP review by Heikki and others.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114675 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:01:15 +00:00
rayw%netscape.com
d0139a5eab A bunch of minor fixes from Heikki's reviews. Passes my tests.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114601 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:54:20 +00:00
rayw%netscape.com
4ea3385c3f Minor whitespace sdjustments.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114587 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:30:43 +00:00
rayw%netscape.com
ab202f8fef Changed type of uri attribute in verifySource header to anyURI.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114585 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:17:17 +00:00
rayw%netscape.com
3f3d8fdcb5 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.


git-svn-id: svn://10.0.0.236/trunk@114584 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 12:10:03 +00:00
rayw%netscape.com
355e33e08c Standardize use of Truncate.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114583 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 11:35:09 +00:00
rayw%netscape.com
fa3c418ee9 Whitespace fixes.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114582 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 11:02:43 +00:00
rayw%netscape.com
d8f342cb2c Whitespace fixes.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114581 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 10:48:16 +00:00
rayw%netscape.com
6d8ad54abc Added whitespace in front of comments.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114580 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 10:25:28 +00:00
vidur%netscape.com
6301300f47 Made anyType be the base of array. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@114563 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:54:49 +00:00
vidur%netscape.com
5398952125 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.
git-svn-id: svn://10.0.0.236/trunk@114560 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:17:27 +00:00
vidur%netscape.com
bc90a54455 Remove linux warnings. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@114559 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:15:51 +00:00
vidur%netscape.com
861df3465d Correctly deal with nsIVariant in type conversion. This is not part of the default build
git-svn-id: svn://10.0.0.236/trunk@114558 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:14:27 +00:00
rayw%netscape.com
5271edd456 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.


git-svn-id: svn://10.0.0.236/trunk@114532 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:00:58 +00:00
rayw%netscape.com
f2b54c8910 Changed license header on SOAP files.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:36:34 +00:00
rayw%netscape.com
0cc38f1628 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.


git-svn-id: svn://10.0.0.236/trunk@114504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:08:25 +00:00
rayw%netscape.com
36cb618c2c 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.


git-svn-id: svn://10.0.0.236/trunk@114457 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:53:46 +00:00
rayw%netscape.com
5316554c5b 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.


git-svn-id: svn://10.0.0.236/trunk@114405 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:13:41 +00:00
jband%netscape.com
9c4cd6d4ff get rid of IsArray. Add onError. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114118 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:18:47 +00:00
jband%netscape.com
f70b76c8fe updated tests. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114116 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:17:32 +00:00
rayw%netscape.com
b5fc0f285e 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.


git-svn-id: svn://10.0.0.236/trunk@113896 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 11:40:40 +00:00
jband%netscape.com
e868bbf596 fix array support. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113878 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:37:24 +00:00
jband%netscape.com
916d323e21 fix windows bustage - not part of default build
git-svn-id: svn://10.0.0.236/trunk@113877 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:10:04 +00:00
jband%netscape.com
861c094c94 update of test. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113875 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:57:33 +00:00
jband%netscape.com
dd43bcc3ce initial checkin of test. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@113874 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:56:45 +00:00
rayw%netscape.com
06f4cfd1d3 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.


git-svn-id: svn://10.0.0.236/trunk@113865 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 03:02:59 +00:00
vidur%netscape.com
6773197e51 More feedback during test. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113831 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:10:39 +00:00
vidur%netscape.com
00a70b9855 Support for both schema namespaces. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113830 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:09:22 +00:00
vidur%netscape.com
e0dcd8874f Support for string and wstring types. Array handling fixes and simplification. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@113829 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 22:07:53 +00:00