0 Replies Latest reply on Aug 3, 2007 3:21 PM by edaniel1984

    Loading settings from a file at runtime

    edaniel1984 Level 1
      I am looking for a way to load the WSDL attribute of a Web Service from a file.

      Since my app can be used by multiple Web Services - how can i load the WSDL attribute without hard coding it?
      someone had suggested using an XML file -

      is there another way to go without using http/web services?

      here's my web service :
      <mx:WebService id="WS1" wsdl=" http://...../Webservice.asmx?wsdl" useProxy="false" showBusyCursor="true" fault="Alert.show(event.fault.message)">
      <mx:operation name="QueryData">
      <mx:request>
      <nID>{_nCheckID}</nID>
      <strEnvironment>{_strEnv}</strEnvironment>
      <nType>0</nType>
      </mx:request>
      </mx:operation>
      </mx:WebService>



      Daniel