Was that a typo using "schemalocation" rather than "schemaLocation"?
Also, did you declare the namespace? xmlns:etsvc=""http://schemas.etrade.com/ETSVC" Regards, Anne On 5/13/05, Chris Berry <[EMAIL PROTECTED]> wrote: > Greetings, > I've checked JIRA and see reference to my problem and see also that > the incident is closed, and thus, I am uncertain if I am just doing > something stupid. Please advise. > > I am using xsd:import. Below is the WSDL snippet. WSDL2Java complains > that it cannot find elements defined in the imported XSD when I use > xsd:import. But when I use wsdl:import (as shown) it works just fine. > As far as I know this is valid WSDL?? > > Thanks, > -- Chris > > <!-- Using this form work fine --> > <import namespace="http://schemas.etrade.com/ETSVC" > location="svc_customer.xsd" /> > <types> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <!-- Using this form results in a unresolved reference > <xsd:import namespace="http://schemas.etrade.com/ETSVC" > schemalocation="svc_customer.xsd" /> > --> > </xsd:schema> > </types> >
