Hi. I am trying to deploy an AIR application. I have a WSDL located on the server, but I don't always want to use this. For development and for some clients, I want it to use a localhost wsdl. But only if the localhost has a valid WSDL. How do I go about checking for the localhost and how do I build the calls to the service? I don't want write a bunch code everytime I do a service call and check if there is an error connecting to the localhost and then move to the remote call. All of the definitions will be the same, but some of the web service functions will be different on localhost vs the remote host. Any ideas/suggestions/am I out of my mind?/Is there a better way?
Thanks for your help!
Matt