hi
im creating a webservice object from action script and when application
starts it calls loadWSDL function to load the webservice wsdl file
this process takes time and i have manage to minimize it by locally
providing wsdl file as a assets
what i was thinking is to persist the webservice object once it created for
the first time and then use the persisted copy
i have tried to use the following code to save the ws object
use namespace mx_internal;
registerClassAlias("mx.rpc.soap.WebService",WebService);
var WebService:ws = WebServiceProvider.getWebSeriveInstance();
pm = new PersistenceManager();
pm.setProperty('WSDL',ws);
but when im retrieving im not getting it insted it returns the Object
var persistedWS:WebService = pm.getProperty('WSDL') as WebService;
is there any way to cast this to webservice or is there any othere way to
cache loadWsdl result in application
best regards
Sumudu