Scripting Interfaces: General Host Objects
WSDL:
Synopsis
Used to invoke an operation from a Web Service using Axis.
Use
w = new WSDL("http://156.56.104.155:8080/axis/axisapps/Calculator.jws");
result = w.invoke("add", 5, 6);
API:
- WSDL(String wsdlURI)
Constructs a new WSDL object for the specified wsdl URI.
w = new WSDL("http://localhost:28080/ShellWS?wsdl");
- setTimeOut(String timeoutValue)
Sets the timeout for socket used in the invocation.
The value is set in milliseconds and
is specified as a string.
For e.g. The following code sets the timeout to be 50 seconds.
w.setTimeOut("50000");
-
result = invoke(String operation, param_1, param2, ..., param_N)
Invokes the operation using the parameters specified.
Status: Implemented
TODO: Error Checking
NOTE: Only simple types are supported.
(back to Notes)