Copy link to clipboard
Copied
I'm trying to connect to a very simple .NET WCF web service (created in .NET 4.0) within Flash Builder Burrito and the process hangs on "Introspecting the service". I get no errors -- it just hangs. The web service is on my local network, and I've also tried to connect to the same service on my local machine without success. I tried simplifying my return types and that doesn't seem to help either. Any ideas??
The WSDL is below, followed by the three referenced XSD schemas:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="TabletHub" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://sdpdev.iasdirect.com/TabletHub/TabletHub.svc?xsd=xsd0" namespace="http://tempuri.org/"/>
<xsd:import schemaLocation="http://sdpdev.iasdirect.com/TabletHub/TabletHub.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
<xsd:import schemaLocation="http://sdpdev.iasdirect.com/TabletHub/TabletHub.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/TabletHub"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ITabletHub_AuthenticateLogin_InputMessage">
<wsdl:part name="parameters" element="tns:AuthenticateLogin"/>
</wsdl:message>
<wsdl:message name="ITabletHub_AuthenticateLogin_OutputMessage">
<wsdl:part name="parameters" element="tns:AuthenticateLoginResponse"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetOrganizationList_InputMessage">
<wsdl:part name="parameters" element="tns:GetOrganizationList"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetOrganizationList_OutputMessage">
<wsdl:part name="parameters" element="tns:GetOrganizationListResponse"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetLocationList_InputMessage">
<wsdl:part name="parameters" element="tns:GetLocationList"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetLocationList_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLocationListResponse"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetMultimediaContentList_InputMessage">
<wsdl:part name="parameters" element="tns:GetMultimediaContentList"/>
</wsdl:message>
<wsdl:message name="ITabletHub_GetMultimediaContentList_OutputMessage">
<wsdl:part name="parameters" element="tns:GetMultimediaContentListResponse"/>
</wsdl:message>
<wsdl:portType name="ITabletHub">
<wsdl:operation name="AuthenticateLogin">
<wsdl:input wsaw:Action="http://tempuri.org/ITabletHub/AuthenticateLogin" message="tns:ITabletHub_AuthenticateLogin_InputMessage"/>
<wsdl:output wsaw:Action="http://tempuri.org/ITabletHub/AuthenticateLoginResponse" message="tns:ITabletHub_AuthenticateLogin_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="GetOrganizationList">
<wsdl:input wsaw:Action="http://tempuri.org/ITabletHub/GetOrganizationList" message="tns:ITabletHub_GetOrganizationList_InputMessage"/>
<wsdl:output wsaw:Action="http://tempuri.org/ITabletHub/GetOrganizationListResponse" message="tns:ITabletHub_GetOrganizationList_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="GetLocationList">
<wsdl:input wsaw:Action="http://tempuri.org/ITabletHub/GetLocationList" message="tns:ITabletHub_GetLocationList_InputMessage"/>
<wsdl:output wsaw:Action="http://tempuri.org/ITabletHub/GetLocationListResponse" message="tns:ITabletHub_GetLocationList_OutputMessage"/>
</wsdl:operation>
<wsdl:operation name="GetMultimediaContentList">
<wsdl:input wsaw:Action="http://tempuri.org/ITabletHub/GetMultimediaContentList" message="tns:ITabletHub_GetMultimediaContentList_InputMessage"/>
<wsdl:output wsaw:Action="http://tempuri.org/ITabletHub/GetMultimediaContentListResponse" message="tns:ITabletHub_GetMultimediaContentList_OutputMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_ITabletHub" type="tns:ITabletHub">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="AuthenticateLogin">
<soap:operation soapAction="http://tempuri.org/ITabletHub/AuthenticateLogin" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetOrganizationList">
<soap:operation soapAction="http://tempuri.org/ITabletHub/GetOrganizationList" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLocationList">
<soap:operation soapAction="http://tempuri.org/ITabletHub/GetLocationList" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMultimediaContentList">
<soap:operation soapAction="http://tempuri.org/ITabletHub/GetMultimediaContentList" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TabletHub">
<wsdl:port name="BasicHttpBinding_ITabletHub" binding="tns:BasicHttpBinding_ITabletHub">
<soap:address location="http://sdpdev.iasdirect.com/TabletHub/TabletHub.svc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/">
<xs:import schemaLocation="http://sdpdev.iasdirect.com/TabletHub/TabletHub.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/TabletHub"/>
<xs:element name="AuthenticateLogin">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="LoginPassword" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AuthenticateLoginResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="AuthenticateLoginResult" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetOrganizationList">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="LoginPassword" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetOrganizationListResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetOrganizationListResult" nillable="true" type="q1:OrganizationList" xmlns:q1="http://schemas.datacontract.org/2004/07/TabletHub"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLocationList">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="LoginPassword" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="OrganizationID" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLocationListResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetLocationListResult" nillable="true" type="q2:LocationList" xmlns:q2="http://schemas.datacontract.org/2004/07/TabletHub"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetMultimediaContentList">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="LoginPassword" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="LocationID" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetMultimediaContentListResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetMultimediaContentListResult" nillable="true" type="q3:ArrayOfMultimediaContent" xmlns:q3="http://schemas.datacontract.org/2004/07/TabletHub"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Copy link to clipboard
Copied
FB finds something wrong in service metadata and trying to check with www.w3.org
You need to block it from that either by disconnecting from network (disable adapter or take out network plug).
Or in c:\windows\system32\drivers\etc .... find hosts. text file (without extension) and add an entry at the bottom:
0.0.0.0 www.w3.org
make sure to have new line at end.
Copy link to clipboard
Copied
yeah fear not. wcf and FB rock together !
beware of introspect.
Copy link to clipboard
Copied
Hi all,
I'm having a similar issue. We've narrowed it down to FB not being able to parse the document at the following url which is referenced in our wsdl:
http://www.w3.org/2007/05/addressing/metadata/
We've tried the proposed solutions...unplugging the network cable which works and adding 0.0.0.0 www.w3.org to the hosts file which doesn't work. Unfortunately we need a network connection to connect our web services so that cannot be our solution.
Any additional suggestions or tips??
Thanks!