The SOAP library primarily consists of the SOAP library, itself, that is used to instantiate the service and the utility functions that you use to convert Web Service Definition Language (WSDL) files into an equivalent .smd description file. In addition, a widget is provided that uses the SOAP library.
Function summary | |
---|---|
void | bind (String method, Array parameters, Object deferredRequestHandler, String URL, Object soapParms) Performs the asynchronous communication with the server |
Object | parseResults (Object data) Parses the results received from the server |
Object | generateMethod (String method, Array parameters, String URL, Object soapParms) Generates methods that can be called to invoke the service methods |
void | processSmd (Object object) Processes the service description |
url | String | Service description URL |
serviceUrl | String | Service endpoint URL |
service | Object | SOAP service object that has the various methods to be invoked |
Function summary | |
---|---|
void | setUrl(String url) Sets the URL to the service description document |
void | setServiceUrl(String serviceUrl) Sets the URL to the service endpoint |
Object | callMethod(String method, Array parameters) Invokes a service method with the given parameters |
wsdlObj | Object | Service description as a WSDL object |
wsdlString | String | Service description as a WSDL string |
smdObj | Object | Service description as a JSON Object |
smdString | String | Service description as a JavaScriptTM Object Notation (JSON) string |
Function summary | |
---|---|
void | parse(Object obj) Parses the service description from WSDL format to JSON format |