[flexcoders] Re: How to configure wsdl for WebService at runtime using a configuration file?

2007-04-18 Thread bhaq1972
can't you use the loadWSDL() function eg mx:WebService id=ws1/ ws1.loadWSDL(url for the wsdl) --- In flexcoders@yahoogroups.com, 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

RE: [flexcoders] Re: How to configure wsdl for WebService at runtime using a configuration file?

2007-04-18 Thread Peter Farland
Right, you could use HTTPService to first load this configuration file and then programmatically set the WSDL to load for each WebService. However, you might need to use the pure ActionScript API as the MXML tag tries to call loadWSDL for you on component initialization... import

[flexcoders] Re: How to configure wsdl for WebService at runtime using a configuration file?

2007-04-18 Thread iilsley
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 flexcoders@yahoogroups.com, lanlin998 [EMAIL PROTECTED] wrote: Hi, here is my problem: We have multiple servers running on different