I have web services in my application, and I wanted to bind the value 
of the "wsdl" attribute of a <mx:WebService> tag, but I'm having 
difficulty.

I have my model like this:

<mx:Model id="webServicesURLs">
  <ws1>http://someURL?wsdl</ws1>
</mx:Model>

Then in my web service, I have:

<mx:WebService id="myWebService" wsdl="{webServicesURLs.ws1}" ... etc.

But upon application startup, I'm getting an alert box error message 
from the application saying "Could not load WSDL, 404, /myApp/
{myWebServiceURLs.ws1}".

It seems like it's trying to get the WSDL prior to substituting the 
value from my data model, which explains why it couldn't get the WSDL.

How can I then make my "wsdl" attribute in my <mx:WebService> a 
variable?





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to