Groups | Blog | Home
all groups > flash data integration > november 2005 >

flash data integration : WSDL download failed


kriesberg
11/23/2005 7:23:34 PM
I'm trying to add a web service (Flash MX 2004 Professional) and it gives me
the following error:

WSDL download failed for the following URLs:
http://dev.2rmg.com/WebServiceTest/Test.asmx?wsdl

I know that it works because if we click on the link (not in flash, just using
IE) the wsdl is viewable. Any ideas what could be happening here?

Since this is on our test server, I'll have to paste the code here so you can
view it.

<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://tempuri.org/WebServiceTest/Test"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/WebServiceTest/Test"
xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org/WebServiceTest/Test">
- <s:element name="Birthdays">
<s:complexType />
</s:element>
- <s:element name="BirthdaysResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="BirthdaysResult"
type="s0:ArrayOfAnyType" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="ArrayOfAnyType">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="anyType"
nillable="true" />
</s:sequence>
</s:complexType>
</s:schema>
</types>
- <message name="BirthdaysSoapIn">
<part name="parameters" element="s0:Birthdays" />
</message>
- <message name="BirthdaysSoapOut">
<part name="parameters" element="s0:BirthdaysResponse" />
</message>
- <portType name="TestSoap">
- <operation name="Birthdays">
<input message="s0:BirthdaysSoapIn" />
<output message="s0:BirthdaysSoapOut" />
</operation>
</portType>
- <binding name="TestSoap" type="s0:TestSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
- <operation name="Birthdays">
<soap:operation
soapAction="http://tempuri.org/WebServiceTest/Test/Birthdays" style="document"
/>
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="Test">
- <port name="TestSoap" binding="s0:TestSoap">
<soap:address location="http://dev.2rmg.com/WebServiceTest/Test.asmx" />
</port>
</service>
</definitions>

Thanks so much in advance for the help!

Kelly Riesberg
KingBling
11/28/2005 12:55:10 PM
Hey dude,

This sounds identical to the problem I've been having (and been pulling
my hair out over for the past 4 days!!). I have been in touch with
Macromedia, only to be dissapointed... no answers there either. When I
test in a server environment, I also get this error (when tracing the
web services fault codes): Unable to connect to endpoint...

Anyways, I am not sure if the latest implementation of webservices in
flash is buggy, apparently these issues are eliminated when using
remoting, which btw is not an option for me at this stage. So, the
conclusion (albeit temporary) that I have come to, is to export your
flash as version 6 with actionscript 2 (not sure bout AS1, haven't
tested this). This seems to work, although other things (UI components)
are now breaking, at least these are less of a headache to fix than the
web services...

Hope this helps.
AddThis Social Bookmark Button