1 Reply Latest reply on Jul 7, 2008 1:11 PM by all4Flex

    mx:webservices wsdl dynamic impossible ?

    Lorr_Hyde
      Hi all..
      I will access to a webServices, But the WSDL can change.

      I found this impossible to change wsdl param from a varaiable.

      I try many thing ....

      thats work
      <mx:WebService id="WS" wsdl="url..." ...

      thats work
      [Bindable]public var wsdlurl:String = 'url...';
      <mx:WebService id="WS" wsdl="{wsdlurl}" ...

      for this 2 version .. i can not change the value of wsdl.

      i try to change the wsdlurl

      I will access to a webServices, But the WSDL can change.

      I found this impossible to change wsdl param from a varaiable.

      I try many thing ...

      thats not work
      [Bindable]public var wsdlurl:String;
      wsdlurl = 'url...';
      <mx:WebService id="WS" wsdl="{wsdlurl}" ...

      thats not work :
      [Bindable]public var wsdlurl:String;
      WS.wsdl= 'url...';
      <mx:WebService id="WS" ...

      When i try to display WS.wsld value before to make a WS.metode.send(), i have the good value, but the call do not use it !
      some idea ?