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. (like
http://www.w3.org/2000/09/xmldsig#) 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.



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



CXF web service is copied on the tomcat server's, webapps folder. Tomcat is
a 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