Hi There are 2 files - a wsdl file - a xsd file
The exception is about the latter file (the XSD). So can you check if you have the XSD file located. And most likely its referred from the WSDL file. On Thu, Apr 21, 2011 at 1:27 AM, vcheruvu <v_cher...@hotmail.com> wrote: > Hi Willem and Claus, > > The wsdl file is located in cxf\src\main\resources\META-INF\wsdl\ and named > it bclearapi-1.6.wsdl. > > In cxf endpoint I have specified the wsdlURL path to > "classpath:META-INF/wsdl/bclearapi-1.6.wsdl" . However when running the test > class, CXF is looking for ./bclearapi-1.6.wsdl instead of > META-INF/wsdl/bclearapi-1.6.wsdl path. Why is CXF is looking for > "./bclearapi-1.6.wsdl" ? > > I hope you tried to run the test class and you will come to know that CXF is > looking for <project directory>/bclearapi-1.6.wsdl instead of the path > <project directory>/resouces /META-INF/wsdl/bclearapi-1.6.wsdl. > > Please run mvn eclipse:eclipse, and run the test class, you will get the > error. I have ensured that main/resources added to the java buildpath in > eclipse so that camel can use the classpath to access the file path to > META-INF/wsdl/bclearapi-1.6.wsdl. > > I hope I am not overlooking something simple here, but i have debugged the > code up until WSDLManagerImpl.loadDefinition(String) after that i do not > have visibility to com.ibm.wsdl.xml.WSDLReaderImpl class due to the jar file > not having any line numbers. > > > Cheers, > -Vid- > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Cxf-unable-to-find-wsdl-tp4315065p4329571.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/