Todd, I think the problem is that you are not doing enough of those "<import
resource=" statements below, because you're bringing in a lot of the more
advanced/lesser used schemas in your xsi:schemaLocation="...", and so CXF is
trying to search the nonexistent cxf.apache.org site for them (CXF up until
recently was in incubator status w/incubator.apache.org URL, so the project
doesn't have that URL yet.)

Two solutions: 
1.) remove URLs from xsi:schemalocation that you don't need and then try to
find out the additional manual imports that you need for those remaining. 
(look in the META-INF folders of the CXF jars I guess...I have not done this
before) 

2.) or, for a simpler but somewhat slower method: use the traditional
cxf-servlet.xml config file, which automatically loads all schemas for you
without you needing any of those "<import resource=..." statements below:

http://www.jroller.com/gmazza/date/20080417#WFstep8

HTH,
Glen



toddmcgrath wrote:
> 
> Hi everybody,
> 
> I'm getting validation errors on app startup with a CXF client.  I'm
> assuming it's because http://cxf.apache.org/ is down?
> 
> This is probably an elementary question, but I couldn't find an answer in
> the docs and the one mailing list post I found seemed like much work to
> change the paths.  Also, in the aforementioned post, the schemaLocation
> paths will be hardcoded which will be different when moving to production.
> 
> Can we specify the location of xsd files to search the classpath/jar file?
> 
> Thoughts and/or ideas?  
> 
> 
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:sec="http://cxf.apache.org/configuration/security";
>       xmlns:http="http://cxf.apache.org/transports/http/configuration";
>       xsi:schemaLocation="
>           http://cxf.apache.org/configuration/security
>           http://cxf.apache.org/schemas/configuration/security.xsd
>           http://cxf.apache.org/transports/http/configuration
>           http://cxf.apache.org/schemas/configuration/http-conf.xsd
>           http://www.springframework.org/schema/beans
>           http://www.springframework.org/schema/beans/spring-beans.xsd";>
> 
>     <import resource="classpath:META-INF/cxf/cxf.xml" />
>       <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>       <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>     
>    <http:conduit
> name="{http://fedex.com/ws/ship/v3}ShipServicePort.http-conduit";>
>        <!--
>        <http:authorization>
>            <sec:UserName>usernamehere</sec:UserName>
>            <sec:Password>passwordhere</sec:Password>
>        </http:authorization>
>        -->
>        <http:tlsClientParameters secureSocketProtocol="SSL" />
>    </http:conduit>
> 
> </beans>
> 
> Thanks in advance (and apologies if I'm missing an easy answer),
> Todd
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cxf.apache.org-down--tp16825366p16825407.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to