Wsdl file not find by cxf or camel-cxf endpoint in OSGI server
--------------------------------------------------------------

                 Key: CAMEL-1466
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1466
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.0-M1
         Environment: Camel 2.0-SNAPSHOT + ServiceMix 4
            Reporter: Charles Moulliard


I have created two bundles :  
- one for the files generated by wsdl2java of CXF = bundle 
reportingincident.service (= bundle A)
- and the other for my camel-context using these files = bundle 
reportingincident.camel (= bundle B)

In the bundle A, I have created a directory under META-INF called wsdl where my 
reporting_incident.wsdl file is and exported the package (in this case, the 
wsdl file) using the syntax : <Export-Package>META-INF.wsdl</Export-Package>

The bundle B imports the package META-INF.wsdl using the following syntax
<Import-Package>META-INF.wsdl</Import-Package>

Unfortunately, when Camel-cxf endpoint and CXF are created and started during 
the load of the camel-context, Cxf claims that it does not find the file under 
c:/xxxx/vvvv/apache-servicemix-kernet-1.1.0-SNAPSHOT/bin/reporting_incident.wsdl

According to the documentation of camel-cxf endpoint, the wsdl file defined for 
the parameter wsdlUrl is loaded through the classpath. 

http://www.nabble.com/forum/ViewPost.jtp?post=22582759&framed=y

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to