5 Replies Latest reply on Apr 9, 2008 1:12 AM by Lorr_Hyde

    ws:webservices, variable wsdl problem

    Lorr_Hyde
      Hi all.

      I pass a url variable when i call my swf. like this
      quote:

      myfile.swy?wsdlurl=http://......


      and I get back the value in my flex app by :
      quote:

      [Bindable]public var urlwsdl:String;
      ...
      urlwsdl = mx.core.Application.application.parameters.wsdlurl;


      When I make a Alert whis the value of urlwsdl, i have the good URL

      I call it in my webservices call like this :
      quote:

      <mx:WebService id="WS" wsdl="{urlwsdl}" ...


      And thats no work.
      But if i put directely the value and no the variable, all work fine ..
      Some idea ?