Hello All,
I am facing below problem while exposing cxf web service using contract
first approach. My tech stack is cxf 2.4.2.
if the WSDL contains nested XSD includes with relative paths such as ../,
the path to those includes that is built from their relative path is built
incorrectly and a FileNotFoundException is produced. The generated XSD
file's path is computed from the server deployment folder location rather
than from the WSDL location on the remote machine.
<import schemaLocation="../xsd/MustTradeID.xsd" For this CXF tries
to fing xsd in WAS server profile.
Caused by: java.io.FileNotFoundException:
F:\IBM\WebSphere\AppServer\profiles\xsd\MustTradeID.xsd (The system cannot
find the path specified.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:112)
--
View this message in context:
http://cxf.547215.n5.nabble.com/Relative-Path-xsds-not-found-while-creating-web-service-tp5719571.html
Sent from the cxf-user mailing list archive at Nabble.com.