If the service is on the same server then I believe a relative URI would work ..
eg: <mx:WebService wsdl="/myServices/myWSDL.wsdl" > </mx:WebService> --- In [email protected], "lanlin998" <[EMAIL PROTECTED]> wrote: > > Hi, here is my problem: > We have multiple servers running on different network. I'd like > not to hard code the wsdl in the <mx:WebService > wsdl="somehost".myservice?myservicec.wsdl"...</mx:WebService> tag. > Instead, there will be a config.txt file in the application folder > that define the variable hostname that the FLEX app will read and then > construct the wsdl before loading. > > My server is Tomcat, we do not use Flex Data Service or Cold Fusion. > > How can I do this? And, is there any security setting I need to set > in order for the FLEX to read the config.txt file? > > Thanks in advance. >

