camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Camel-Cxf:unable to find wsdl
Date Thu, 21 Apr 2011 01:14:38 GMT

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*.


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 class due to the jar file
> not having any line numbers.
> Cheers,
> -Vid-
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Blog: (English)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference

View raw message