Hi All,
The Apache CXF based SOAP web services works fine in a setup with internet 
connection available. However it does not load in a setup with no internet 
connection available. The wsdl files depends on couple of .xsd files which in 
turn references many external online sites. The error getting is something 
similar as follows.
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem 
parsing file
/........../webservices/WEB-INF/wsdl/xxx.xsd java.net.UnknownHostException 
www.w3.org<http://www.w3.org> errors
Is it possible to have web services loaded without validating wsdl files or any 
other way to resolve this issue? The cxf-beans.xml too has external references.
One option I could think of defining all external references (online 
references) as local to file systems. But this looks non practical since it has 
lot of references. Any suggestions to make it work in a system with no internet 
connections?

I have the CXF related jars  copied under jre/lib/ext folder.

CXF web service is copied on the tomcat server, webapps folder. Tomcat is 
slightly altered version bundled with the IAM product.

Directory Structure
<product_root>/jre/lib.ext
<product_root>/Tomacat_instance/webapps/cxfws/
Under cxfws folder
wsdl folder (contains wsdl and xsd files)
and the following files
cxf-beans.xml
web.xml

Regards,
George


Reply via email to