You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Verachten Bruno <Br...@atosorigin.com> on 2007/09/24 17:23:58 UTC

Loading schemas at startup

Hi, 

I'm currently tring to get rid of dependencies to proxies (the machine
used with CXF is behind a firewall).
When I remove the proxy settings of the JVM, I get :
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
document 'http://schemas.xmlsoap.org/wsdl/', 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 read http://cwiki.apache.org/CXF20DOC/schemas-and-namespaces.html and
thought the schemas and their dependencies were found in the jars. I
tried the -Dspring.validation.mode=VALIDATION_NONE argument, but it
doesn't change anything.

Did I miss something?

Thanks.

Bruno Verachten.

Re: Loading schemas at startup

Posted by Daniel Kulp <dk...@apache.org>.
Is there a stack trace on that?    I'm wondering if it has anything to do 
with Spring at all.   It might just be WSDL/schema parsing stuff which 
would not have anything to do with the spring validation.

Dan


On Monday 24 September 2007, Verachten Bruno wrote:
> Hi,
>
> I'm currently tring to get rid of dependencies to proxies (the machine
> used with CXF is behind a firewall).
> When I remove the proxy settings of the JVM, I get :
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read
> schema document 'http://schemas.xmlsoap.org/wsdl/', 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 read http://cwiki.apache.org/CXF20DOC/schemas-and-namespaces.html
> and thought the schemas and their dependencies were found in the jars.
> I tried the -Dspring.validation.mode=VALIDATION_NONE argument, but it
> doesn't change anything.
>
> Did I miss something?
>
> Thanks.
>
> Bruno Verachten.



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog