Hi,

My comment inline.
On 2012-5-16, at 上午4:58, nareshkpotti wrote:

Thank you for response. How can i use http-transport-osgi? Is it by adding <import resource="classpath:META-INF/cxf/osgi/cxf-extension- osgi.xml" /> to
context file.
have
<import resource="classpath:META-INF/cxf/cxf.xml" />
 <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/osgi/cxf-extension- osgi.xml" />
should be fine

How can i specify to use both jetty transport and osgi transport? Are these
imports sufficient?
<import resource="classpath:META-INF/cxf/cxf.xml" />
 <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http- jetty.xml" /> <import resource="classpath:META-INF/cxf/osgi/cxf-extension- osgi.xml" />
No, you can't use both transport for a certain endpoint, it will use http-osgi or http-jetty transport.
Freeman

Thanks,
Potti

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Creating-Webservice-in-servicemix-with-cxf-and-install-as-a-osgi-bundle-tp5710339p5710395.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to