Web Services (WSDL) interface.
Asynchronously retrieve the endpoint URL for a given wsdlURL. Will callback(url) when retrieved.
Asynchronously retrieve a list of valid services for a given wsdlURL. Will callback(servicesArray) when retrieved.
Asynchronously retrieve input and output values for given wsdlURL and service. Will callback(inputObject, outputObject) when retrieved.
Invokes a web service, with WSDL file located at wsdlURL. Input values are specified in options; will callback(outputObject) when finished. Options:
/* Sample code for google search */ var wsdl = "/google/services.wsdl"; var serviceName = "doGoogleSearch"; var inputObject = { doGoogleSearch:{ key:"IGWnqjhQFHKvB8MdJlVI0GPKDJxZhwBf", q:"my query", start:0, maxResults:10, filter:"", restrict:"", safeSearch:"", lr:"", ie:"", oe:"" } } function callback(outputObject) { alert('Data arrived!'); } OAT.WS.invoke(wsdl, callback, serviceName, inputObject);