Thanks for your help Juan. Yes I can see the 2 entries in the "User Specified Entries" with a little red X next to them. I other words I still have some prooblems. Here is my fle content:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <system systemId="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd" uri="jar:file:C:/tools/WebServices/apache-cxf-2.0.1-incubator/lib/cxf-2.0-incubator.jar!/schemas/configuration/cxf-beans.xsd"/> <system systemId="http://cxf.apache.org/schemas/jaxws.xsd" uri="jar:file:C:/tools/WebServices/apache-cxf-2.0.1-incubator/lib/cxf-2.0-incubator.jar!/schemas/jaxws.xsd"/> </catalog> Juan José Vázquez Delgado wrote: > > Hi, > > Try this: > >>> New document and named, for example cxf.xmlcatalog >>> Copy/Paste this: > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> > <system systemId=" > http://cxf.apache.org/schemas/configuration/cxf-beans.xsd" > uri="jar:file:C:/SW/cxf/apache-cxf-2.0-incubator/lib/cxf- > 2.0-incubator.jar!/schemas/configuration/cxf-beans.xsd"/> > <system systemId="http://cxf.apache.org/schemas/jaxws.xsd" > uri="jar:file:C:/SW/cxf/apache-cxf-2.0-incubator/lib/cxf- > 2.0-incubator.jar!/schemas/jaxws.xsd"/> > </catalog> > > where obviously you must change C:/SW/cxf... for your root CXF path, and > save it. > >>> Eclipse >> Window >> Preferences >> XML Catalog >> Advanced >> Import >> > Import Files >> Browse the cxf.xmlcatalog >> Finish > > Then you will see two new entries in your Eclipse XML Catalog. > > I hope this help you. > > Regards, > > Juanjo. > > On 8/19/07, Mustafa Egilmezbilek <[EMAIL PROTECTED]> wrote: >> >> Hi, >> I am developing a service with CXF-Spring in Eclipse 3.3 and I got the >> following error: >> "cvc-complex-type.2.4.c: The matching wildcard is strict, but no >> declaration >> can be found for element 'jaxws:endpoint'." >> >> and the following warning: >> "schema_reference.4: Failed to read schema document ' >> http://cxf.apache.org/schemas/jaxws.xsd', because 1) could not find the >> document; 2) the document could not be read; 3) the root element of the >> document is not <xsd:schema>." >> >> I know that "jaxws.xsd" is in both cxf-2.0.1-incubator.jar and >> cxf-rt-frontend-jaxws-2.0.1-incubator.jar and I am sure that >> cxf-2.0.1-incubator.jar is in among the libraries for the project. I also >> tried to include cxf-rt-frontend-jaxws-2.0.1-incubator.jar but nothing >> has >> changed :( >> >> I also defined an XML Catalog for the key: >> http://cxf.apache.org/schemas/jaxws.xsd that points to the >> cxf-2.0.1-incubator.jar then I started to get the error: >> Referenced file contains errors (file:/C:/tools/WebServices/apache- >> cxf-2.0.1-incubator/lib/cxf-2.0.1-incubator.jar). For more information, >> right click on the message and select "Show Details...". Unfortunately, I >> could not figure out the message to right click to see the details. >> >> Shortly, I am stuck at this point. Any help will be highly appreciated. >> >> Thanks. >> >> -- >> Mustafa Egilmezbilek >> > > -- View this message in context: http://www.nabble.com/Urgent---Failed-to-read-schema-document-%27http%3A--cxf.apache.org-schemas-jaxws.xsd%27-tf4292426.html#a12223530 Sent from the cxf-user mailing list archive at Nabble.com.