0 Replies Latest reply on Nov 17, 2009 8:32 AM by jssutton11

    Unable to generate code from WSDL using Flex's Import WSDL wizard

    jssutton11

      Hi, I'm trying to access a Webservice through Flex Builder 3, in an Adobe AIR program I wrote. The website I'm accessing has a specified WSDL file for its webservice:

       

      http://fedexifc.infousa.com/Vision/FedExInfoConnectVisionService.asmx?WSDL

      However, when I use the Introspection Wizard in FB3, it gives me an error when I try to generate the code for that wsdl file: "Unable to load the WSDL. Specify another URI."

       

      I found my flex-config.xml file and added this code to it so as to obtain access to unknown web services:

       

      <!-- New List of webservices -->
         <web-service-proxy>
           <whitelist>
      
           <unnamed>
                <url>http://*</url>
                <url>https://*</url>
           </unnamed>
      
           <named>
                <service name="infoUSAWS">
                   <wsdl>http://fedexifc.infousa.com/Vision/FedExInfoConnectVisionService.asmx?WSDL</wsdl>
                        <endpoints>
                        <endpoint>http://fedexifc.infousa.com/Vision/FedExInfoConnectVisionService.asmx</endpoint>
                        </endpoints>
                        <use-custom-authentication>true</use-custom-authentication>
                        <allow-unnamed-access>true</allow-unnamed-access>
                   </service>
           </named>
           </whitelist>
         </web-service-proxy>     
      
         <web-service-proxy-debug>false</web-service-proxy-debug>
      
       
      

       

      I still have no luck accessing this WSDL, nor any other WSDL that I've tried. It looks like it's a problem on my side, because other people can access the WSDL files, but I can't figure out what is wrong.

       

      Can anyone tell me what the problem is, and how I can get around this error?

      Thanks,

      Jeremy