You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Shivani <sh...@gmail.com> on 2016/10/18 08:13:38 UTC

jaxrs-xsd

Hello,

I am having problem integrating CXF in my project. I am getting error in the
jaxrs.xsd schema file.

Is the file not well-formed? I downloaded the file too in case my
application was not connecting to the website but the xml file is giving
errors such as cannot resolve to type definition component.

Any help in this regard would be highly appreciated.

Thanks and regards,
Shivani



--
View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-xsd-tp5773976.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: jaxrs-xsd

Posted by Sergey Beryozkin <sb...@gmail.com>.
This CXF version is old (not supported) while Spring version is quite 
new, perhaps something is not linking properly between Spring and CXF 
Spring namespace handlers.
May be, in CXF 2.7.16, one still needs to add the imports as in

https://github.com/apache/cxf/blob/cxf-2.7.16/systests/jaxrs/src/test/resources/jaxrs/WEB-INF/beans.xml#L42

Please migrate to CXF 3.0.11 or CXF 3.0.8 (due shortly)

HTH, Sergey
On 18/10/16 12:52, Shivani wrote:
> CXF Version is 2.7.16
>
> Spring version is 4.2.6
>
>
> In my beans.xml file, which is used for configuration, I am using code
> exactly similar to this (with change in class names etc)
>
> https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/sse_tomcat/src/main/resources/WEB-INF/applicationContext.xml
>
>
> But on the first line of javax:server declaration, it is giving error that
> failed to read the schema document.
>
> Thanks and regards,
> Shivani
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-xsd-tp5773976p5773988.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


Re: jaxrs-xsd

Posted by Shivani <sh...@gmail.com>.
CXF Version is 2.7.16

Spring version is 4.2.6


In my beans.xml file, which is used for configuration, I am using code
exactly similar to this (with change in class names etc)

https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/sse_tomcat/src/main/resources/WEB-INF/applicationContext.xml


But on the first line of javax:server declaration, it is giving error that
failed to read the schema document.

Thanks and regards,
Shivani




--
View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-xsd-tp5773976p5773988.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: jaxrs-xsd

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

Can you provider more information please: CXF version, Blueprint or 
Spring, container type, offline/online mode. I can only think of the 
schema validator trying to get the schemas online and not being able to 
do it for some reasons...

Thanks, Sergey
On 18/10/16 09:13, Shivani wrote:
> Hello,
>
> I am having problem integrating CXF in my project. I am getting error in the
> jaxrs.xsd schema file.
>
> Is the file not well-formed? I downloaded the file too in case my
> application was not connecting to the website but the xml file is giving
> errors such as cannot resolve to type definition component.
>
> Any help in this regard would be highly appreciated.
>
> Thanks and regards,
> Shivani
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-xsd-tp5773976.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>