Hi,

If you take a look at the exception carefully, you will find the missing part is *bclearapi-1.6.xsd* instead of *bclearapi-1.6.wsdl*.

Willem

On 4/21/11 7:27 AM, vcheruvu 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.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com

Reply via email to