Hi,

I don't think you can use relative path 
<to uri="/xyzV1Port"/> 
instead of 
<to uri="http://localhost:8181/aaa/bbb/xyzV1Port"/>
in camel context.

The relative path like /xyzV1Port only works in cxf endpoint configuration and 
indicate this cxf endpoint should use http-osgi transport. You still need use 
full path when you refer it in your camel context.

And use nmr endpoint doesn't help in this case, as with nmr endpoint you 
external client can't access it directly.

Freeman




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

On 2012-8-22, at 上午7:17, nareshkpotti wrote:

> Hi Freeman,
>   Thank you for the reply. This works like a charm. I have another thing
> which i am stuck with.
> From my proxy bundle i am exposing proxy services using cxf endpoint and
> producer is a JAXWS endpoint which is present in another bundle. 
> <cxf:cxfEndpoint id="xyzWSV2"
>>                  address="/xyzWSV2Port"
>>                  endpointName="s:xyzWSV2Port"
>>                  serviceName="s:xyzWSV2Service"
>>                  wsdlURL="etc/xyzV2.wsdl"
>>                  xmlns:s="http://www.ccc.com/xyzWS"/> 
> 
> <camelContext xmlns="http://camel.apache.org/schema/spring"; >
>    <route>
>      <from uri="cxf:bean:customerWSV2?dataFormat=MESSAGE" />
>        <setExchangePattern pattern="InOut"/>
>      <process ref="proxyInProcessor" /> 
>       *<to uri="http://localhost:8181/aaa/bbb/xyzV1Port"/> *
> 
>      <to uri="proxyOutProcessor" />
>    </route>
>  </camelContext> 
> 
> How can i refer in camel route to use real web service as *<to
> uri="/xyzV1Port"/>* instead of *<to
> uri="http://localhost:8181/aaa/bbb/xyzV1Port"/>.*
> 
> Both for proxy and actual web services will have same context.
> 
> Does using nmr a good option??? If so how can i use with JAXWS endpoint with
> nmr and refer to camel context?? and our real web service already have some
> clients who should not be disturbed
> 
> Thanks,
> Potti
> 
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Install-WS-as-bundles-and-opening-accessing-WSDL-in-browser-tp5714152p5714211.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to