Hi all, two questions:

1.) Line #51 of the camel-example-cxf-osgi sample's README[1] hosts a CXF web service at the following URL:

http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl

However, the default string for OOTB Karaf would have "services" instead of CXF:

http://localhost:8181/services/camel-example-cxf-osgi/webservices/incident <http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident>?wsdl

I have a patch to update the README and can have the URL changed to "services" but was wondering where "cxf" came from--is that the default string if it is hosted on ServiceMix (only Karaf uses "services" by default?), or does ServiceMix use "services" too by default? Then we can switch the README to have them use "services" instead so no special container configuration would be needed.


2.) I cannot get this sample to work using either "cxf" or "services" above in the URL string. Karaf log error message is: "Can't find the the request for http://localhost:8181/services/camel-example-cxf-osgi/webservices/incident's Observer " which may mean CXF configuration isn't being properly detected.

Line #32 of the Spring camel-context.xml configuration here: *http://tinyurl.com/3bumwtx* seems suspect:
*
*address="/camel-example-cxf-osgi/webservices/incident"

Shouldn't it be the entire address, like so:

address="http://localhost:8181/services/camel-example-cxf-osgi/webservices/incident <http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident>?wsdl"

(although that didn't seem to work for me either, same error!) The address value of the camel-context.xml for *test* cases has the full URL as above.

Thanks,
Glen

[1] http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-osgi/README.txt?annotate=1147432

--
Glen Mazza
Talend - http://www.talend.com/apache
Blog - http://www.jroller.com/gmazza/
Twitter - glenmazza

Reply via email to