diff --git a/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html b/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html index 0bdb8b1be8c..f702f9b18d7 100644 --- a/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html +++ b/extensions/webservices/docs/Soap_Scripts_in_Mozilla.html @@ -1,276 +1,415 @@
- +var myFoo = new Foo(new FooFact("always","Great","Baz"));
- myFoo.bar = 3.14159265;
- var myGreatBaz = myFoo.find("Great");
- if (checkBaz(myGreatBaz)) {
- alert(myGreatBaz.description);
- }
-
var myFoo = new Foo(new FooFact("always","Great","Baz"));
+ myFoo.bar = 3.14159265;
+ var myGreatBaz = myFoo.find("Great");
+ if (checkBaz(myGreatBaz)) {
+ alert(myGreatBaz.description);
+ }
+
Basic Operation + |
+ How to Do It + |
+
Create a parameter block, setting the Javascript
+ value and name for rpc-style call + |
+
+
|
+
Set parameters in a Javascript array + |
+
+
|
+
Create and encode the parameters in a basic SOAP
+ 1.1 rpc-style message + |
+
+
|
+
Invoke call (send call message and receive
+ response message) + |
+
+
|
+
Handle completion of async SOAP call. + |
+
+
|
+
Get service's failure, if any. + |
+
+
|
+
Get returned parameters from rpc-style response + |
+
+
|
+
Process Javascript values, etc. of returned parameters + |
+
+
|
+
Basic Operation + | Header Operation |
How to Do It |
|
Create a parameter block, setting the Javascript
- value and name for rpc-style call + | Create a Header Block |
- + |
|
Set parameters in a Javascript array + | Establish non-default role of a header block |
- + |
|
Create and encode the parameters in a basic SOAP
- 1.1 rpc-style message + | Set header blocks in a Javascript array |
- + |
|
+
Encode the headers in a SOAP 1.1 rpc-style message + |
+
+
|
||
Invoke call (send call message and receive
- response message) + | Get returned headers |
- + |
|
-
Handle completion of async SOAP call. - |
-
-
|
- ||
Get service's failure, if any. - |
-
-
|
- ||
Get returned parameters from rpc-style response - |
-
-
|
||
Process Javascript values, etc. of returned parameters + | Process Javascript values, etc. of returned headers |
- + |
|
Header Operation - |
- How to Do It - |
-
Create a Header Block - |
-
-
|
-
Establish non-default role of a header block - |
-
-
|
-
Set header blocks in a Javascript array - |
-
-
|
-
Encode the headers in a SOAP 1.1 rpc-style message - |
-
-
|
-
Get returned headers - |
-
-
|
-
Process Javascript values, etc. of returned headers - |
-
-
|
-
Non-RPC Operation - |
- How to Do It - |
-
Setting the namespaceURI of a non-RPC parameter - |
-
-
|
-
Encode a SOAP 1.1 non-rpc-style message - |
-
-
|
-
Get returned parameters from non-rpc-style response - |
-
-
|
-
Operation - |
- How to Do It - |
-
Set or get an actionURI carried for the message
-in the HTTP header - |
-
-
|
-
Directly set the DOM element to represent the block's
- encoded content, bypassing encoding of the value on the block - |
-
-
- |
-
Directly get the DOM element that represents the
- block's encoded content, bypassing decoding of the value on the block - |
-
-
|
-
Directly get the DOM element containing the SOAP
- envelope , header, or body of an encoded message - |
-
-
|
-
Directly set the DOM document to represent the
-message's entire encoded content, bypassing encoding. - |
-
-
- |
-
Directly get the DOM document of an encoded message,
- bypassing encoding. - |
-
-
- |
-
Get the method name and object URI, if any, of
-the message. - |
- <method name string>
- = <SOAPMessage> .method; - |
-
Get the actual SOAP version of an encoded message
- -- 0 for SOAP 1.1 and 1 for SOAP 1.2. - |
-
-
|
-
Encode a SOAP 1.2 message. - |
-
-
|
-
Abort an in-progress async call -- this does not
- necessarily cause the message not to be processed, but the API stops listening
- for it to complete. - |
-
-
|
-
Get the encoding (style) used to encode or decode
- message. Not available on an unencoded call unless explicitly set --
- use following operation instead. - |
-
-
|
-
Set the encoding style (and associated styles)
-used to encode a message. - |
-
-
|
-
Specify the specific style used to encode or decode
- specific blocks - |
-
-
|
-
Schema Operation - |
- How to Do It - |
-
Get the schema collection of all associated encodings. - |
-
-
|
-
Load additional schema types from XML Schema files
- into the schema collection. - - |
-
-
|
-
Specify the XML Schema type to be used when encoding - or decoding a block -- decoding a block occurs when you get its value if -it came from an encoded message such as a SOAPResponse. | -
-
|
-
Encoding Customization Operation - |
- How to Do It - |
-
Create a custom encoder. | -
-
- |
-
Create a custom decoder. - |
-
-
- |
-
Map or unmap schema URI aliases - |
-
-
|
-
Register modified or alternative encodings, making
- them automatically available to all SOAP scripts in the system - |
- Install an appropriate registerable encoding in
- components/<new encoding>
-.js - |
-
Security Operation - |
- How to Do It - |
- ||
Mark the call with a verifySourceHeader, if the
-server permits it, so the browser can make the call with less privilege
-and risk. + | Non-RPC Operation |
- + | How to Do It + |
+
Setting the namespaceURI of a non-RPC parameter + |
+
|
||
Request risky privileges within a local or signed
- script to make an unverified SOAP calls to other domains. + | Encode a SOAP 1.1 non-rpc-style message |
- + |
|
Modify the security settings in the preferences - file, allowing scripts from some domain to make risky SOAP calls to any -other domain, which is disabled by default. | -Add the setting in default/pref/all.js
- :- + | Get returned parameters from non-rpc-style response + |
+
|
+
Operation + |
+ How to Do It + |
+ ||
Set or get an actionURI carried for the message
+ in the HTTP header + |
+
+
|
||
Modify the security settings in the preferences file
-to disallow calls made with the verifySource header, which is generally enabled
-by default. - |
- Change the setting in default/pref/all.js
- :-
|
- ||
Register alternative transport mechanisms, making
-available alternative transports to all scripts and perhaps creating alternative
-security models for protocols besides http(s). + | Directly set the DOM element to represent the
+block's encoded content, bypassing encoding of the value on the block |
- Install an appropriate registerable encoding in
- components/<new transport>
-.js .+ |
+
+ |
+
Directly get the DOM element that represents the
+ block's encoded content, bypassing decoding of the value on the block + |
+
+
|
+ ||
Directly get the DOM element containing the SOAP
+ envelope , header, or body of an encoded message + |
+
+
|
+ ||
Directly set the DOM document to represent the
+message's entire encoded content, bypassing encoding. + |
+
+
+ |
+ ||
Directly get the DOM document of an encoded message,
+ bypassing encoding. + |
+
+
+ |
+ ||
Get the method name and object URI, if any, of
+the message. + |
+ <method name string>
+ = <SOAPMessage> .method; + |
+ ||
Get the actual SOAP version of an encoded message
+ -- 0 for SOAP 1.1 and 1 for SOAP 1.2. + |
+
+
|
+ ||
Encode a SOAP 1.2 message. + |
+
+
|
+ ||
Abort an in-progress async call -- this does not
+ necessarily cause the message not to be processed, but the API stops listening
+ for it to complete. + |
+
+
|
+ ||
Get the encoding (style) used to encode or decode
+ message. Not available on an unencoded call unless explicitly set
+-- use following operation instead. + |
+
+
|
+ ||
Set the encoding style (and associated styles)
+used to encode a message. + |
+
+
|
+ ||
Specify the specific style used to encode or decode
+ specific blocks + |
+
+
|
Schema Operation + |
+ How to Do It + |
+
Get the schema collection of all associated encodings. + |
+
+
|
+
Load additional schema types from XML Schema files
+ into the schema collection. + + |
+
+
|
+
Specify the XML Schema type to be used when encoding + or decoding a block -- decoding a block occurs when you get its value if + it came from an encoded message such as a SOAPResponse. | +
+
|
+
Encoding Customization Operation + |
+ How to Do It + |
+
Create a custom encoder. | +
+
+ |
+
Create a custom decoder. + |
+
+
+ |
+
Map or unmap schema URI aliases + |
+
+
|
+
Register modified or alternative encodings, making
+ them automatically available to all SOAP scripts in the system + |
+ Install an appropriate registerable encoding in
+ components/<new encoding>
+ .js + |
+
Security Operation + |
+ How to Do It + |
+
Mark the call with a verifySourceHeader, if the
+ server permits it, so the browser can make the call with less privilege
+and risk. + |
+
+
|
+
Request risky privileges within a local or signed
+ script to make an unverified SOAP calls to other domains. + |
+
+
|
+
Modify the security settings in the preferences + file, allowing scripts from some domain to make risky SOAP calls to any +other domain, which is disabled by default. | +Add the setting in default/pref/all.js
+ :+ +
|
+
Modify the security settings in the preferences
+file to disallow calls made with the verifySource header, which is generally
+enabled by default. + |
+ Change the setting in default/pref/all.js
+ :+ +
|
+
Register alternative transport mechanisms, making
+available alternative transports to all scripts and perhaps creating alternative
+security models for protocols besides http(s). + |
+ Install an appropriate registerable encoding
+in components/<new transport>
+ .js .+ |
+
var myFoo = new Foo(new FooFact("always","Great","Baz"));
- myFoo.bar = 3.14159265;
- var myGreatBaz = myFoo.find("Great");
- if (checkBaz(myGreatBaz)) {
- alert(myGreatBaz.description);
- }
-
var myFoo = new Foo(new FooFact("always","Great","Baz"));
+ myFoo.bar = 3.14159265;
+ var myGreatBaz = myFoo.find("Great");
+ if (checkBaz(myGreatBaz)) {
+ alert(myGreatBaz.description);
+ }
+
Basic Operation + |
+ How to Do It + |
+
Create a parameter block, setting the Javascript
+ value and name for rpc-style call + |
+
+
|
+
Set parameters in a Javascript array + |
+
+
|
+
Create and encode the parameters in a basic SOAP
+ 1.1 rpc-style message + |
+
+
|
+
Invoke call (send call message and receive
+ response message) + |
+
+
|
+
Handle completion of async SOAP call. + |
+
+
|
+
Get service's failure, if any. + |
+
+
|
+
Get returned parameters from rpc-style response + |
+
+
|
+
Process Javascript values, etc. of returned parameters + |
+
+
|
+
Basic Operation + | Header Operation |
How to Do It |
|
Create a parameter block, setting the Javascript
- value and name for rpc-style call + | Create a Header Block |
- + |
|
Set parameters in a Javascript array + | Establish non-default role of a header block |
- + |
|
Create and encode the parameters in a basic SOAP
- 1.1 rpc-style message + | Set header blocks in a Javascript array |
- + |
|
+
Encode the headers in a SOAP 1.1 rpc-style message + |
+
+
|
||
Invoke call (send call message and receive
- response message) + | Get returned headers |
- + |
|
-
Handle completion of async SOAP call. - |
-
-
|
- ||
Get service's failure, if any. - |
-
-
|
- ||
Get returned parameters from rpc-style response - |
-
-
|
||
Process Javascript values, etc. of returned parameters + | Process Javascript values, etc. of returned headers |
- + |
|
Header Operation - |
- How to Do It - |
-
Create a Header Block - |
-
-
|
-
Establish non-default role of a header block - |
-
-
|
-
Set header blocks in a Javascript array - |
-
-
|
-
Encode the headers in a SOAP 1.1 rpc-style message - |
-
-
|
-
Get returned headers - |
-
-
|
-
Process Javascript values, etc. of returned headers - |
-
-
|
-
Non-RPC Operation - |
- How to Do It - |
-
Setting the namespaceURI of a non-RPC parameter - |
-
-
|
-
Encode a SOAP 1.1 non-rpc-style message - |
-
-
|
-
Get returned parameters from non-rpc-style response - |
-
-
|
-
Operation - |
- How to Do It - |
-
Set or get an actionURI carried for the message
-in the HTTP header - |
-
-
|
-
Directly set the DOM element to represent the block's
- encoded content, bypassing encoding of the value on the block - |
-
-
- |
-
Directly get the DOM element that represents the
- block's encoded content, bypassing decoding of the value on the block - |
-
-
|
-
Directly get the DOM element containing the SOAP
- envelope , header, or body of an encoded message - |
-
-
|
-
Directly set the DOM document to represent the
-message's entire encoded content, bypassing encoding. - |
-
-
- |
-
Directly get the DOM document of an encoded message,
- bypassing encoding. - |
-
-
- |
-
Get the method name and object URI, if any, of
-the message. - |
- <method name string>
- = <SOAPMessage> .method; - |
-
Get the actual SOAP version of an encoded message
- -- 0 for SOAP 1.1 and 1 for SOAP 1.2. - |
-
-
|
-
Encode a SOAP 1.2 message. - |
-
-
|
-
Abort an in-progress async call -- this does not
- necessarily cause the message not to be processed, but the API stops listening
- for it to complete. - |
-
-
|
-
Get the encoding (style) used to encode or decode
- message. Not available on an unencoded call unless explicitly set --
- use following operation instead. - |
-
-
|
-
Set the encoding style (and associated styles)
-used to encode a message. - |
-
-
|
-
Specify the specific style used to encode or decode
- specific blocks - |
-
-
|
-
Schema Operation - |
- How to Do It - |
-
Get the schema collection of all associated encodings. - |
-
-
|
-
Load additional schema types from XML Schema files
- into the schema collection. - - |
-
-
|
-
Specify the XML Schema type to be used when encoding - or decoding a block -- decoding a block occurs when you get its value if -it came from an encoded message such as a SOAPResponse. | -
-
|
-
Encoding Customization Operation - |
- How to Do It - |
-
Create a custom encoder. | -
-
- |
-
Create a custom decoder. - |
-
-
- |
-
Map or unmap schema URI aliases - |
-
-
|
-
Register modified or alternative encodings, making
- them automatically available to all SOAP scripts in the system - |
- Install an appropriate registerable encoding in
- components/<new encoding>
-.js - |
-
Security Operation - |
- How to Do It - |
- ||
Mark the call with a verifySourceHeader, if the
-server permits it, so the browser can make the call with less privilege
-and risk. + | Non-RPC Operation |
- + | How to Do It + |
+
Setting the namespaceURI of a non-RPC parameter + |
+
|
||
Request risky privileges within a local or signed
- script to make an unverified SOAP calls to other domains. + | Encode a SOAP 1.1 non-rpc-style message |
- + |
|
Modify the security settings in the preferences - file, allowing scripts from some domain to make risky SOAP calls to any -other domain, which is disabled by default. | -Add the setting in default/pref/all.js
- :- + | Get returned parameters from non-rpc-style response + |
+
|
+
Operation + |
+ How to Do It + |
+ ||
Set or get an actionURI carried for the message
+ in the HTTP header + |
+
+
|
||
Modify the security settings in the preferences file
-to disallow calls made with the verifySource header, which is generally enabled
-by default. - |
- Change the setting in default/pref/all.js
- :-
|
- ||
Register alternative transport mechanisms, making
-available alternative transports to all scripts and perhaps creating alternative
-security models for protocols besides http(s). + | Directly set the DOM element to represent the
+block's encoded content, bypassing encoding of the value on the block |
- Install an appropriate registerable encoding in
- components/<new transport>
-.js .+ |
+
+ |
+
Directly get the DOM element that represents the
+ block's encoded content, bypassing decoding of the value on the block + |
+
+
|
+ ||
Directly get the DOM element containing the SOAP
+ envelope , header, or body of an encoded message + |
+
+
|
+ ||
Directly set the DOM document to represent the
+message's entire encoded content, bypassing encoding. + |
+
+
+ |
+ ||
Directly get the DOM document of an encoded message,
+ bypassing encoding. + |
+
+
+ |
+ ||
Get the method name and object URI, if any, of
+the message. + |
+ <method name string>
+ = <SOAPMessage> .method; + |
+ ||
Get the actual SOAP version of an encoded message
+ -- 0 for SOAP 1.1 and 1 for SOAP 1.2. + |
+
+
|
+ ||
Encode a SOAP 1.2 message. + |
+
+
|
+ ||
Abort an in-progress async call -- this does not
+ necessarily cause the message not to be processed, but the API stops listening
+ for it to complete. + |
+
+
|
+ ||
Get the encoding (style) used to encode or decode
+ message. Not available on an unencoded call unless explicitly set
+-- use following operation instead. + |
+
+
|
+ ||
Set the encoding style (and associated styles)
+used to encode a message. + |
+
+
|
+ ||
Specify the specific style used to encode or decode
+ specific blocks + |
+
+
|
Schema Operation + |
+ How to Do It + |
+
Get the schema collection of all associated encodings. + |
+
+
|
+
Load additional schema types from XML Schema files
+ into the schema collection. + + |
+
+
|
+
Specify the XML Schema type to be used when encoding + or decoding a block -- decoding a block occurs when you get its value if + it came from an encoded message such as a SOAPResponse. | +
+
|
+
Encoding Customization Operation + |
+ How to Do It + |
+
Create a custom encoder. | +
+
+ |
+
Create a custom decoder. + |
+
+
+ |
+
Map or unmap schema URI aliases + |
+
+
|
+
Register modified or alternative encodings, making
+ them automatically available to all SOAP scripts in the system + |
+ Install an appropriate registerable encoding in
+ components/<new encoding>
+ .js + |
+
Security Operation + |
+ How to Do It + |
+
Mark the call with a verifySourceHeader, if the
+ server permits it, so the browser can make the call with less privilege
+and risk. + |
+
+
|
+
Request risky privileges within a local or signed
+ script to make an unverified SOAP calls to other domains. + |
+
+
|
+
Modify the security settings in the preferences + file, allowing scripts from some domain to make risky SOAP calls to any +other domain, which is disabled by default. | +Add the setting in default/pref/all.js
+ :+ +
|
+
Modify the security settings in the preferences
+file to disallow calls made with the verifySource header, which is generally
+enabled by default. + |
+ Change the setting in default/pref/all.js
+ :+ +
|
+
Register alternative transport mechanisms, making
+available alternative transports to all scripts and perhaps creating alternative
+security models for protocols besides http(s). + |
+ Install an appropriate registerable encoding
+in components/<new transport>
+ .js .+ |
+