1 Reply Latest reply on May 26, 2009 1:21 PM by Brent Lamborn

    Need to load WSDL from external file




      I have to override the SOAP address location generated by a webservice and call the webservice from the correct location.

      Is there any way I can load WSDL in flex using an external file or override the SOAP address location.


      Please reply soon.


      Best Regards,


        • 1. Re: Need to load WSDL from external file
          Brent Lamborn Level 2

          If you used the "Data > Import Web Service (WSDL)" feature in Flex Builder to import the WSDL into your Flex application, then the generated service class should have a parameter named "rootUrl" in the constructor. At runtime you can determine what url you need and pass it into the contructor with the rootUrl parameter.