Durga,

Were you able to figure out the problem ? Looks like I have the same
problem. 

Thanks,

Mustafa


gdprao wrote:
> 
> Thanks for the reply.  I have tried the following as this jaxws.xsd is
> contained in the cxf-2.0-incubator.jar.
> 
> Window-->Preferences-->Web and XML-->XML Catalog-->User specified entries
> -->Add
> 
> Location: C:\apache-cxf-2.0-incubator\lib\cxf-2.0-incubator.jar
> Key Type: URI
> Key: http://cxf.apache.org/schemas/jaxws.xsd
> 
> It produced the following details:
> 
> Location:     C:\apache-cxf-2.0-incubator\lib\cxf-2.0-incubator.jar
> URI:                  
> file:///C:/apache-cxf-2.0-incubator/lib/cxf-2.0-incubator.jar
> Key Type:     URI
> Key:          http://cxf.apache.org/schemas/jaxws.xsd
> 
> Still after this I have the following error:
> 
> Referenced file contains errors
> (file:/C:/apache-cxf-2.0-incubator/lib/cxf-2.0-incubator.jar).  For more
> information, right click on the message and select "Show Details...
> 
> My applicationContext file:
> 
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:jaxws="http://cxf.apache.org/jaxws";
>       xmlns:soap="http://cxf.apache.org/bindings/soap";
>       xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://cxf.apache.org/bindings/soap
> http://cxf.apache.org/schemas/configuration/soap.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
> 
>     <jaxws:endpoint
>         id="hello_world_xml_bare"
>         implementor="demo.hw.server.GreeterImpl"
>         wsdlLocation="WEB-INF/wsdl/hello_world.wsdl"
>         address="/hello_world">
>                 <jaxws:features>
>                   <bean class="org.apache.cxf.feature.LoggingFeature"/>
>                 </jaxws:features>
>     </jaxws:endpoint>
> 
> </beans>
> 
> I am not sure as to how to load the XSD from jar file into the Eclipse.
> Please help. 
> 
> Thanks,
> Durga
> 
> 
> bmargulies wrote:
>> 
>> Type 'catalog' into the window/preferences filter box.
>> 
>>> -----Original Message-----
>>> From: Durgaprasad Rao [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, July 19, 2007 12:30 PM
>>> To: [email protected]
>>> Subject: RE: Eclipse XSD validation for jaxws.xsd
>>> 
>>> Thanks for the reply.  I found the location of this jar containing
>>> jaxws.xsd.  How can I export this XSD to Eclipse so that it finds this
>>> schema. Currently my eclipse reports : Failed to read schema document
>>> 'http://cxf.apache.org/schema/jaxws.xsd'. Eclipse could able to find
>>> spring related name spaces but not the CXF related ones.  Any help is
>>> appreciated.
>>> 
>>>   Thanks,
>>>   Durga
>>> 
>>> Christopher Moesel <[EMAIL PROTECTED]> wrote:
>>>   The jaxws.xsd file is packaged in the
>>> cxf-rt-frontend-jaxws-2.0-incubator.jar as well as the uber
>>> cxf-2.0-incubator.jar. In both cases, you can find it under /schemas.
>>> 
>>> -Chris
>>> 
>>> -----Original Message-----
>>> From: gdprao [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, July 19, 2007 11:35 AM
>>> To: [email protected]
>>> Subject: Eclipse XSD validation for jaxws.xsd
>>> 
>>> 
>>> I am new to CXF and trying to use it with spring. When I am trying to
>>> use
>>> beans.xml file with jaxws.xsd namespace, Eclipse reports that this
>>> namespace
>>> is not found. How can I add this schema to the eclipse so that it can
>>> find
>>> the schema and does not report validation errors. Any help is
>>> appreciated.
>>> --
>>> View this message in context:
>>>
>> http://www.nabble.com/Eclipse-XSD-validation-for-jaxws.xsd-tf4111858.htm
>>> l#a11691580
>>> Sent from the cxf-user mailing list archive at Nabble.com.
>>> 
>>> 
>>> 
>>> 
>>> ---------------------------------
>>> Yahoo! oneSearch: Finally,  mobile search that gives answers, not web
>>> links.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Eclipse-XSD-validation-for-jaxws.xsd-tf4111858.html#a12214219
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to