-
Web service help
i ve been designing Standalone applications in FL. Now, i wish to connect to a Web Service( includes upload and download of data). There are instances where authentication is required in the process.(Security risks involved) Will FL provide the neccessary features and support for me to build this application ? I would also like to view similar threads that use connect to a Web Service from FL.
Regards
-
Re: Web service help
Hi,
I have connected to web service from Nokia N95(FL 2.0)
import mx.services.WebService;
var wsdlUri = "http://someaddress?wsdl";
myservice = new WebService(wsdlUri);
myResponseObject = myservice.someFunction(some parameters);
myResponseObject.onResult = function(result)
{
//do your tasks
resultString = String(result);
trace(resultString);
}
myResponseObject.onFault = function(fault)
{
//handle fault
trace(fault.faultstring);
}
Regards,
Tanvir.