135 Commits

Author SHA1 Message Date
harishd%netscape.com
832eb93a91 Enabling an alternative security model for web services. b=183824, r=rayw@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140175 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:19:26 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
harishd%netscape.com
ca619d387e Fixed a crasher by avoiding an extra release of the minivariant. Also fixed a bug in soap encoding. b=197872, r=rayw@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139952 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:14:29 +00:00
jst%netscape.com
85169fe43f Checking in changes that were made during the review of the WSDL code. The review was done by harishd@netscape.com, jgaunt@netscape.com, dbradley@netscape.com, and jst@netscape.com. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@139757 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 07:25:23 +00:00
harishd%netscape.com
d06a9798f7 Make sure to resolve place-holder-array-type. b=192141, r=rayw@netscape.com, sr=vidur@netscape.com.
The target namespace on <schema> should be applied to <element> if and only if <element> is qualified. b=192972. r=rayw@netscape.com, sr=jst@netscape.com.
Fixed a few warnings.
*** NOT PART OF THE BUILD ***


git-svn-id: svn://10.0.0.236/trunk@138634 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:36:42 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
rayw%netscape.com
3c2079a839 Fix for bug 154971, r=harishd, sr=heikki, sr=jst, very safe fix to inheritance
of HTTPS transport in SOAP.  Duplicates functioning line above for HTTP.  Does
not affect any object used outside of HTTPS transport for SOAP which wa not working.


git-svn-id: svn://10.0.0.236/trunk@124892 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:30:14 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
rayw%netscape.com
d29baad3e5 Fixes bug 141765, r=heikki, sr=jst, rs=rayw.
This is a very simple, safe fix that fixes a crash in decoding structures
inside of arrays in SOAP, and affects nothing else.


git-svn-id: svn://10.0.0.236/trunk@120690 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 11:56:31 +00:00
jaggernaut%netscape.com
6f59cccadb Fix two typos on previous checkin for bug 139633. r=dmose, sr=mozbot (even though I couldn't reach him, I'm sure he would've given me sr= for this simple bustage fix)
git-svn-id: svn://10.0.0.236/trunk@120283 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:03:57 +00:00
alecf%netscape.com
93e7be5f78 oops fix a typo in my last checkin, to bug 139633 that dbaron caught - "dst" should have been "src"
git-svn-id: svn://10.0.0.236/trunk@120274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:39:22 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
rayw%netscape.com
4e3de121c8 Added support for new string types in SOAP so they are automatically recognized
as xs:string type during encoding.  Bug 131952, r=heikki, sr=jband, a=asa.


git-svn-id: svn://10.0.0.236/trunk@117170 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 11:54:43 +00:00
jband%netscape.com
57faa09874 fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from jcorwin@us.ibm.com and rayw@netscape.com. r=jband sr=brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@117098 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:21:54 +00:00
rayw%netscape.com
45ce2ad916 Lots of fixes and new files in the documentation and tests for SOAP.
None of these are part of any build.


git-svn-id: svn://10.0.0.236/trunk@116809 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:08:15 +00:00
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
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
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
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
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
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
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
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
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
peterv%netscape.com
c09ff9312b Keep SOAP compiling on Mac. Not part of the build, rs=vidur.
git-svn-id: svn://10.0.0.236/trunk@113779 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 12:56:31 +00:00
rayw%netscape.com
15b1571fdb Converted tests to use new names for services on my soap server.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113525 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 15:42:27 +00:00
rayw%netscape.com
9cd6379065 A variety of bug fixes in SOAP, most notably, eliminating 1999 schema
types.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113495 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:47:27 +00:00