I have ported my Flex 1.5 application to Flex 2. I have Flex Builder 2.0.1 installed with Hot Fix 2. I use Apache Axis 1.2 for our webservices, which works fine with my Flex 1.5 application. Now when I moved our codes to Flex 2, I got errors when it tries to load my wsdl. Here is a snippet of my wsdl:
<?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions name="UIManager" targetNamespace="urn:us:gov:dod:don:ads:uimanager:0:2" xmlns:bie="urn:us:gov:dod:don:ads:0:2" xmlns:qdt="urn:us:gov:dod:don:ads:qdt:0:2" xmlns:tns="urn:us:gov:dod:don:ads:uimanager:0:2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <xsd:schema targetNamespace="urn:us:gov:dod:don:ads:uimanager:0:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:import namespace="urn:us:gov:dod:don:ads:0:2" schemaLocation="ADS-BIE-0.2.xsd" /> <xsd:import namespace="urn:us:gov:dod:don:ads:qdt:0:2" schemaLocation="ADS-QDT-0.2.xsd" /> ...... I have <mx:TraceTarget> turned on and this is what I am seeing in the log file: 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer set destination to 'DefaultHTTP'. '0176C4CA-98A9-A1E8-34F0-F794EF8415C2' producer set destination to 'DefaultHTTP'. 'direct_http_channel' channel endpoint set to http: '47EB2BA7-55DB-E143-495D-F794EF94A4CC' producer set destination to 'DefaultHTTP'. '757388B3-7493-1CB8-CD59-F794EF949B66' producer set destination to 'DefaultHTTP'. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer sending message '48A20CD2-AECA-574B-12E7-F794EF94C6A4' 'direct_http_channel' channel sending message: (mx.messaging.messages::HTTPRequestMessage)#0 body = (Object)#1 clientId = (null) contentType = "application/x-www-form-urlencoded" destination = "DefaultHTTP" headers = (Object)#2 httpHeaders = (Object)#3 messageId = "48A20CD2-AECA-574B-12E7-F794EF94C6A4" method = "GET" recordHeaders = false timestamp = 0 timeToLive = 0 url = "http://10.1.10.2:8080/ads-uimanager/services/UIManagerPort? wsdl" 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer connected. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer acknowledge of '48A20CD2-AECA-574B-12E7-F794EF94C6A4'. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer sending message 'C22A60E4-9FAA-DE9B-83BB-F794F6C8EB68' 'direct_http_channel' channel sending message: (mx.messaging.messages::HTTPRequestMessage)#0 body = (Object)#1 clientId = "DirectHTTPChannel0" contentType = "application/x-www-form-urlencoded" destination = "DefaultHTTP" headers = (Object)#2 httpHeaders = (Object)#3 messageId = "C22A60E4-9FAA-DE9B-83BB-F794F6C8EB68" method = "GET" recordHeaders = false timestamp = 0 timeToLive = 0 url = "http://10.1.10.2:8080/ads-uimanager/services/ADS-BIE- 0.2.xsd" 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer sending message 'DB79A5AE-1AA8-9904-6EE8-F794F6F787DF' 'direct_http_channel' channel sending message: (mx.messaging.messages::HTTPRequestMessage)#0 body = (Object)#1 clientId = "DirectHTTPChannel0" contentType = "application/x-www-form-urlencoded" destination = "DefaultHTTP" headers = (Object)#2 httpHeaders = (Object)#3 messageId = "DB79A5AE-1AA8-9904-6EE8-F794F6F787DF" method = "GET" recordHeaders = false timestamp = 0 timeToLive = 0 url = "http://10.1.10.2:8080/ads-uimanager/services/ADS-QDT- 0.2.xsd" 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer acknowledge of 'C22A60E4-9FAA-DE9B-83BB-F794F6C8EB68'. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer fault for 'C22A60E4- 9FAA-DE9B-83BB-F794F6C8EB68'. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer acknowledge of 'DB79A5AE-1AA8-9904-6EE8-F794F6F787DF'. 'D2D4D54F-B6D9-2542-18E4-F794EEAA824F' producer fault for 'DB79A5AE- 1AA8-9904-6EE8-F794F6F787DF'. Does anyone know what's going on? It sounds like it's failing in one of the imported schema files, but I don't see anything wrong with it using XMLSpy. Thanks in advance for all the help. -Thu