• Lightning Builder
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,
I got the following error "Unable to find schema for element; {http://tempuri.org/}BDRequestResponse" while parsing the WSDL file.
Here is the snippet of WSDL file:

<wsdl:definitions 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" name="Service1" targetNamespace="http://tempuri.org/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/WCFlib" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WCFlib">
<xs:complexType name="CompositeType">
<xs:sequence>
<xs:element minOccurs="0" name="BoolValue" type="xs:boolean"/>
<xs:element minOccurs="0" name="StringValue" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType" nillable="true" type="tns:CompositeType"/>
<xs:complexType name="ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
<xs:complexType name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l">
<xs:annotation>
<xs:appinfo>
<GenericType xmlns="http://schemas.microsoft.com/2003/10/Serialization/" Name="CompositeType.GetBaseResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/WCFlib">
<GenericParameter Name="CompositeType.RetailerContract" Namespace="http://schemas.datacontract.org/2004/07/WCFlib" NestedLevel="1"/>
</GenericType>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="count" type="xs:long"/>
<xs:element minOccurs="0" name="data" nillable="true" type="tns:ArrayOfCompositeType.RetailerContract"/>
<xs:element minOccurs="0" name="result" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
<xs:complexType name="ArrayOfCompositeType.RetailerContract">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CompositeType.RetailerContract" nillable="true" type="tns:CompositeType.RetailerContract"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCompositeType.RetailerContract" nillable="true" type="tns:ArrayOfCompositeType.RetailerContract"/>
<xs:complexType name="CompositeType.RetailerContract">
<xs:sequence>
<xs:element minOccurs="0" name="Brand" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Color" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="MRP" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ModelName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="SKUCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Serial" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Serial2" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="SubCategory" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType.RetailerContract" nillable="true" type="tns:CompositeType.RetailerContract"/>
<xs:complexType name="CompositeType.TertiarySales">
<xs:sequence>
<xs:element minOccurs="0" name="ISDCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="count" type="xs:int"/>
<xs:element minOccurs="0" name="retailerCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="salesdata" nillable="true" type="tns:ArrayOfCompositeType.TertiaryData"/>
</xs:sequence>
Hi,
I got the following error "Unable to find schema for element; {http://tempuri.org/}BDRequestResponse" while parsing the WSDL file.
Here is the snippet of WSDL file:

<wsdl:definitions 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" name="Service1" targetNamespace="http://tempuri.org/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/WCFlib" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WCFlib">
<xs:complexType name="CompositeType">
<xs:sequence>
<xs:element minOccurs="0" name="BoolValue" type="xs:boolean"/>
<xs:element minOccurs="0" name="StringValue" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType" nillable="true" type="tns:CompositeType"/>
<xs:complexType name="ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:ArrayOfCompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
<xs:complexType name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l">
<xs:annotation>
<xs:appinfo>
<GenericType xmlns="http://schemas.microsoft.com/2003/10/Serialization/" Name="CompositeType.GetBaseResultOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/WCFlib">
<GenericParameter Name="CompositeType.RetailerContract" Namespace="http://schemas.datacontract.org/2004/07/WCFlib" NestedLevel="1"/>
</GenericType>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="count" type="xs:long"/>
<xs:element minOccurs="0" name="data" nillable="true" type="tns:ArrayOfCompositeType.RetailerContract"/>
<xs:element minOccurs="0" name="result" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l" nillable="true" type="tns:CompositeType.GetBaseResultOfCompositeType.RetailerContractx0Ls4Q3l"/>
<xs:complexType name="ArrayOfCompositeType.RetailerContract">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CompositeType.RetailerContract" nillable="true" type="tns:CompositeType.RetailerContract"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCompositeType.RetailerContract" nillable="true" type="tns:ArrayOfCompositeType.RetailerContract"/>
<xs:complexType name="CompositeType.RetailerContract">
<xs:sequence>
<xs:element minOccurs="0" name="Brand" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Color" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="MRP" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="ModelName" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="SKUCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Serial" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Serial2" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="SubCategory" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CompositeType.RetailerContract" nillable="true" type="tns:CompositeType.RetailerContract"/>
<xs:complexType name="CompositeType.TertiarySales">
<xs:sequence>
<xs:element minOccurs="0" name="ISDCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="count" type="xs:int"/>
<xs:element minOccurs="0" name="retailerCode" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="salesdata" nillable="true" type="tns:ArrayOfCompositeType.TertiaryData"/>
</xs:sequence>