I am getting "Error Parsing WSDL" when using xsd:import..

with wsdl:import it works fine.. but the WSDL editor in eclipse gives me
"Error resolving component" for an element defined in the schema.

Is there soemthing wrong with the wsdl or is it just a bug?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions name="ClearingHouseService" 
        targetNamespace="http://mch.org/ClearingHouse/"; 
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
        xmlns:tns="http://mch.org/ClearingHouse/"; 
        xmlns:ecp="http://mch.org/ClearingHouse/ECPSchema";>
  
  <wsdl:import namespace="http://mch.org/ClearingHouse/ECPSchema";
location="ECP.xsd"/>  
  
  <wsdl:types>
        <xsd:schema targetNamespace="http://mch.org/ClearingHouse/";>
                
                <!-- Reverted to wsdl:import as this was generating errors in 
codegen
-->
                <!-- <xsd:import 
namespace="http://mch.org/ClearingHouse/ECPSchema";
schemaLocation="ECP.xsd"></xsd:import>-->
                 
                <xsd:element name="PresentCheques">
                        <xsd:complexType>
                                <xsd:sequence>
                                        <xsd:element name="Cheques"
                                                type="ecp:PresentedChequeType" 
minOccurs="1"
                                                maxOccurs="unbounded">
                                        </xsd:element>
                                        <xsd:element name="ProcDate" 
type="xsd:dateTime"
                                                minOccurs="1" maxOccurs="1">
                                        </xsd:element>
                                </xsd:sequence>
                        </xsd:complexType>
                </xsd:element>
-- 
View this message in context: 
http://www.nabble.com/Axis2-1.3-CodeGen-problems-with-xsd%3Aimport-tp15925873p15925873.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to