Hi, First point is your working WSDL is working fine only because you have all referenced XML-Schemas accessible. (doesnt work with me)
Second point is the imported XML-Schema MUST have a different Namespace than the importing XML-Schema. Third point is you should qualify all referenced elements with their corresponding shortcut for the namespace they reside in All in all why dont you use JAVA2WSDL (at least as a starter) which would solve the problems for you. Namespace-Handling is notoriously difficult. Cheers, Wolfgang --- "Dayalan, Ravikumar" <[EMAIL PROTECTED]> wrote: > > > > -----Original Message----- > > From: Dayalan, Ravikumar > > Sent: Tuesday, April 01, 2008 7:45 PM > > To: 'axis-dev@ws.apache.org' > > Subject: Why this wsdl is not valid Wsdl > > > > > > When I try this wsdl and try to validate (I Use > eclipse) it always > > gives this error. > > IWAB0380E Errors were encountered while validating > XML schemas. XSD: > > The target namespace > 'http://MedicalMitchel/interfaces/IMedMitPOC' of > > the resolved schema conflicts with '' XSD: Element > reference '#MMFILE' > > is unresolved > > > > Can you please help me in understanding where iam > wrong in this WSDL > > > > Whereis the otherwsdl is working fine.. > <<working.wsdl>> > > > > Here I have <element ref="MMFILE"... in > mywsdl.wsdl whereis in > > working.wsdl it has <element name=.. Type=> > > Will this be the reason.. Since this wsdl is given > by some other team > > I don't have much control over changing it. > > Any help will be highly appreciated. > > > > Thanks > > Ravi. > > <<ravi.xsd>> <<mywsdl.wsdl>> > ========================================================= > The information in this transmission is intended for > official use only and may contain information from > NJM Insurance Group that is privileged, confidential > and exempt from disclosure under applicable law. It > is intended for the exclusive use of the persons or > entities to which it is addressed. If you are not > an intended recipient or the employee or agent > responsible for delivering this transmission to an > intended recipient, be aware that any disclosure, > dissemination, distribution or copying of this > communication, or the use of its contents, is > strictly prohibited. If you received this > transmission in error, please notify the sender by > return e-mail and delete the material from any > computer. > ========================================================= > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]