Class __WebService
Object
|
+--__WebService
- class
__WebService
Defined in webservice.js
|
Constructor Summary |
__WebService
(<String> urn,<String> url)
This is the abstract definition of a webservice adapter.
|
|
Method Summary |
void
|
invoke(<__Request> request,<String> message,<Function> callback)
Calls a webservice operation using the XMLHttpRequest object.
|
void
|
setSecurity(<String> username,<String> password,<boolean> digest)
Sets the parameters to use in the security header, if this parameters aren't
set the security header wouldn´t be included in the request.
|
digest
Object digest
password
Object password
security
Object security
url
Object url
urn
Object urn
username
Object username
xmlHttpRequest
Object xmlHttpRequest
__WebService
__WebService(<String> urn,<String> url)
This is the abstract definition of a webservice adapter.
Parameters:
urn - The webservice name.
url - The url pointing to the webservice deployment location.
invoke
void invoke(<__Request> request,<String> message,<Function> callback)
Calls a webservice operation using the XMLHttpRequest object.
Parameters:
request - Webservice request.
message - The operation to be called.
callback - The function to be used as a callback to handle the response.
setSecurity
void setSecurity(<String> username,<String> password,<boolean> digest)
Sets the parameters to use in the security header, if this parameters aren't
set the security header wouldn´t be included in the request.
Parameters:
username - The username to be included in the UsernameToken.
password - The password to be included in the UsernameToken.
true
- to encrypt the password
. false
- (default) don't encrypt the password
Documentation generated by
JSDoc on Sun Apr 16 18:38:12 2006