You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Hervé BARRAULT <he...@gmail.com> on 2012/04/23 10:05:37 UTC
Multiple service for one Camel CXF endpoint
Hi,
I have a wsdl with multiple services to expose.
Some services should be exposed through the same endpoint (even they are
not defined in the same service). I checked that there is no operation name
conflict.
Is it possible to expose multiple services through the same camel/cxf
endpoint or should i use multiple endpoint bind to the same address ?
I guess the second case will be possible but i am not sure for the first
one (cxfEndpoint as only an attribute for serviceClass).
Can it be also a problem if I enable https ?
Thanks for answers
Regards
Hervé
Re: Multiple service for one Camel CXF endpoint
Posted by Willem Jiang <wi...@gmail.com>.
Yes, you are right.
On Mon Apr 23 20:35:04 2012, Hervé BARRAULT wrote:
> Hi, thanks for answer.
>
> It seems that the limitation for camel-cxf is even on the wsdl port
> (binding) as i can "register" only one port by cxfEndpoint .
>
> Am I right ?
>
> Regards
> Hervé
>
> On Mon, Apr 23, 2012 at 12:37 PM, Willem Jiang<wi...@gmail.com>wrote:
>
>> If you want to host multiple endpoints with the same address you can
>> consider use camel-jetty at the begining,
>> then use the CBR to route the request to different endpoint.
>>
>> BTW, current camel-cxf doesn't support to expose multiple service at the
>> same address.
>>
>>
>> On Mon Apr 23 16:05:37 2012, Hervé BARRAULT wrote:
>>
>>> Hi,
>>> I have a wsdl with multiple services to expose.
>>>
>>> Some services should be exposed through the same endpoint (even they are
>>> not defined in the same service). I checked that there is no operation
>>> name
>>> conflict.
>>>
>>> Is it possible to expose multiple services through the same camel/cxf
>>> endpoint or should i use multiple endpoint bind to the same address ?
>>>
>>> I guess the second case will be possible but i am not sure for the first
>>> one (cxfEndpoint as only an attribute for serviceClass).
>>>
>>> Can it be also a problem if I enable https ?
>>>
>>> Thanks for answers
>>> Regards
>>> Hervé
>>>
>>>
>>
>>
>> --
>> Willem
>> ------------------------------**----
>> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
>> FuseSource
>> Web: http://www.fusesource.com
>> Blog: http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English)
>> http://jnn.javaeye.com (Chinese)
>> Twitter: willemjiang
>> Weibo: willemjiang
>>
>>
>
--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang
Re: Multiple service for one Camel CXF endpoint
Posted by Hervé BARRAULT <he...@gmail.com>.
Hi, thanks for answer.
It seems that the limitation for camel-cxf is even on the wsdl port
(binding) as i can "register" only one port by cxfEndpoint .
Am I right ?
Regards
Hervé
On Mon, Apr 23, 2012 at 12:37 PM, Willem Jiang <wi...@gmail.com>wrote:
> If you want to host multiple endpoints with the same address you can
> consider use camel-jetty at the begining,
> then use the CBR to route the request to different endpoint.
>
> BTW, current camel-cxf doesn't support to expose multiple service at the
> same address.
>
>
> On Mon Apr 23 16:05:37 2012, Hervé BARRAULT wrote:
>
>> Hi,
>> I have a wsdl with multiple services to expose.
>>
>> Some services should be exposed through the same endpoint (even they are
>> not defined in the same service). I checked that there is no operation
>> name
>> conflict.
>>
>> Is it possible to expose multiple services through the same camel/cxf
>> endpoint or should i use multiple endpoint bind to the same address ?
>>
>> I guess the second case will be possible but i am not sure for the first
>> one (cxfEndpoint as only an attribute for serviceClass).
>>
>> Can it be also a problem if I enable https ?
>>
>> Thanks for answers
>> Regards
>> Hervé
>>
>>
>
>
> --
> Willem
> ------------------------------**----
> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
> FuseSource
> Web: http://www.fusesource.com
> Blog: http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English)
> http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
> Weibo: willemjiang
>
>
Re: Multiple service for one Camel CXF endpoint
Posted by Willem Jiang <wi...@gmail.com>.
If you want to host multiple endpoints with the same address you can
consider use camel-jetty at the begining,
then use the CBR to route the request to different endpoint.
BTW, current camel-cxf doesn't support to expose multiple service at
the same address.
On Mon Apr 23 16:05:37 2012, Hervé BARRAULT wrote:
> Hi,
> I have a wsdl with multiple services to expose.
>
> Some services should be exposed through the same endpoint (even they are
> not defined in the same service). I checked that there is no operation name
> conflict.
>
> Is it possible to expose multiple services through the same camel/cxf
> endpoint or should i use multiple endpoint bind to the same address ?
>
> I guess the second case will be possible but i am not sure for the first
> one (cxfEndpoint as only an attribute for serviceClass).
>
> Can it be also a problem if I enable https ?
>
> Thanks for answers
> Regards
> Hervé
>
--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang