Class __Request
Object
|
+--__Request
- class
__Request
Defined in webservice.js
|
Constructor Summary |
__Request
(<String> urn,<String> method)
Defines a webservice request.
|
|
Method Summary |
void
|
addParam(name,value)
|
Object
|
getParam(name)
|
String
|
paramXML(<String> name,value)
Generate the XML code of a single request parameter.
|
String
|
toXML(<__Webservice> wservice)
Generate the XML code for the whole request.
|
method
Object method
params
Object params
urn
Object urn
__Request
__Request(<String> urn,<String> method)
Defines a webservice request. One of this must be created for every call to
a webservice operation.
Parameters:
urn - The webservice name.
method - The operation name to be called.
addParam
void addParam(name,value)
getParam
Object getParam(name)
paramXML
String paramXML(<String> name,value)
Generate the XML code of a single request parameter.
Parameters:
name - This is used as the tagname.
value - The parameter value,
toXML
String toXML(<__Webservice> wservice)
Generate the XML code for the whole request.
Parameters:
wservice - Reference to the webservice adapter that's making the call.
Documentation generated by
JSDoc on Sun Apr 16 18:38:12 2006