Class AjxSoapDoc
Object
|
+--AjxSoapDoc
- class
AjxSoapDoc
Defined in AjxSoapDoc.js
_SOAP_URI
<static> Object _SOAP_URI
_XMLNS_URI
<static> Object _XMLNS_URI
AjxSoapDoc
AjxSoapDoc()
_check
void _check(xmlDoc)
createHeaderElement
Object createHeaderElement()
ensureHeader
Object ensureHeader()
getBody
Object getBody()
getByTagName
Object getByTagName(type)
getDoc
Object getDoc()
getHeader
Object getHeader()
getMethod
Object getMethod()
getXml
Object getXml()
set
Object set(name, value, parent)
Creates arguments to pass within the envelope. "value" can be a JS object
or a scalar (string, number, etc.).
When "value" is a JS object, set() will call itself recursively in order to
create a complex data structure. Don't pass a "way-too-complicated" object
("value" should only contain references to simple JS objects, or better put,
hashes--don't include a reference to the "window" object as it will kill
your browser).
Example:
soapDoc.set("user_auth", {
user_name : "foo",
password : "bar"
});
will create an XML like this under the method tag:
foo
bar
Of course, nesting other hashes is allowed and will work as expected.
NOTE: you can pass null for "name", in which case "value" is expected to be
an object whose properties will be created directly under the method el.
setMethodAttribute
void setMethodAttribute(name, value)
toString
Object toString()
create
<static> Object create(method, namespace, namespaceId, soapURI)
createFromDom
<static> Object createFromDom(doc)
createFromXml
<static> Object createFromXml(xml)
element2FaultObj
<static> Object element2FaultObj(el)
Documentation generated by
JSDoc on Thu Apr 27 13:58:41 2006