You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Madesclair Vivian <vm...@sopragroup.com> on 2009/07/10 16:40:20 UTC
Using HTTP and CXF-BC components at the same time
Hello,
In my servicemix project, I have come to a point where I deploy 2 SA
which are independant.
The first SA is using an HTTP and a Mail component. It is called by a
java application, and it calls a mail server.
The second SA is using 2 CXF-BC, and 2 EIP components. It is called by
the same java application and calls a java axis web service.
When I deploy independently each SA, they work. When I deploy both, the
first SA seems to be deployed fine according to smx logs but it is
actually hidden, I can't access it.
When I try http://myIP:8192/ to have a list of accessible endpoints,
only the CXF-BC is shown. Does the CXF-BC prevent the use of HTTP-BC? If
not, anyone has any idea of what is happening?
Best Regards,
Vivian
RE: Using HTTP and CXF-BC components at the same time
Posted by Madesclair Vivian <vm...@sopragroup.com>.
Great, it works.
Thanks
Vivian
-----Message d'origine-----
De : Freeman Fang [mailto:freeman.fang@gmail.com]
Envoyé : vendredi 10 juillet 2009 17:13
À : users@servicemix.apache.org
Objet : Re: Using HTTP and CXF-BC components at the same time
No, the 8192 port you mentioned here isn't configured at smx level, it was configured per cxf bc/http bc endpoint.
You can change the port used in the wsdl or locationURI in the xbean.xml for the endpoint.
Freeman
On 2009-7-10, at 下午11:09, Madesclair Vivian wrote:
> Yes, that's what I was thinking.
>
> But port config is define at smx level, isn't it?
> Therefore, in the same instance of servicemix, I cannot use both
> HTTP-BC and CXF-BC?
>
> Regards,
> Vivian
>
>
> -----Message d'origine-----
> De : Freeman Fang [mailto:freeman.fang@gmail.com] Envoyé : vendredi 10
> juillet 2009 16:51 À : users@servicemix.apache.org Objet : Re: Using
> HTTP and CXF-BC components at the same time
>
> Hi,
> CXF-BC can work with HTTP-BC
> But if you mean both your http endpoint and cxf bc endpoint use same
> 8192 port, I think it will cause port conflict
>
> Freeman
> On 2009-7-10, at 下午10:40, Madesclair Vivian wrote:
>
>> Hello,
>>
>> In my servicemix project, I have come to a point where I deploy 2 SA
>> which are independant.
>> The first SA is using an HTTP and a Mail component. It is called by a
>> java application, and it calls a mail server.
>> The second SA is using 2 CXF-BC, and 2 EIP components. It is called
>> by the same java application and calls a java axis web service.
>>
>> When I deploy independently each SA, they work. When I deploy both,
>> the first SA seems to be deployed fine according to smx logs but it
>> is actually hidden, I can't access it.
>>
>> When I try http://myIP:8192/ to have a list of accessible endpoints,
>> only the CXF-BC is shown. Does the CXF-BC prevent the use of HTTP-
>> BC?
>> If not, anyone has any idea of what is happening?
>>
>> Best Regards,
>> Vivian
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: Using HTTP and CXF-BC components at the same time
Posted by Freeman Fang <fr...@gmail.com>.
No, the 8192 port you mentioned here isn't configured at smx level, it
was configured per cxf bc/http bc endpoint.
You can change the port used in the wsdl or locationURI in the
xbean.xml for the endpoint.
Freeman
On 2009-7-10, at 下午11:09, Madesclair Vivian wrote:
> Yes, that's what I was thinking.
>
> But port config is define at smx level, isn't it?
> Therefore, in the same instance of servicemix, I cannot use both
> HTTP-BC and CXF-BC?
>
> Regards,
> Vivian
>
>
> -----Message d'origine-----
> De : Freeman Fang [mailto:freeman.fang@gmail.com]
> Envoyé : vendredi 10 juillet 2009 16:51
> À : users@servicemix.apache.org
> Objet : Re: Using HTTP and CXF-BC components at the same time
>
> Hi,
> CXF-BC can work with HTTP-BC
> But if you mean both your http endpoint and cxf bc endpoint use same
> 8192 port, I think it will cause port conflict
>
> Freeman
> On 2009-7-10, at 下午10:40, Madesclair Vivian wrote:
>
>> Hello,
>>
>> In my servicemix project, I have come to a point where I deploy 2 SA
>> which are independant.
>> The first SA is using an HTTP and a Mail component. It is called by a
>> java application, and it calls a mail server.
>> The second SA is using 2 CXF-BC, and 2 EIP components. It is called
>> by
>> the same java application and calls a java axis web service.
>>
>> When I deploy independently each SA, they work. When I deploy both,
>> the first SA seems to be deployed fine according to smx logs but it
>> is
>> actually hidden, I can't access it.
>>
>> When I try http://myIP:8192/ to have a list of accessible endpoints,
>> only the CXF-BC is shown. Does the CXF-BC prevent the use of HTTP-
>> BC?
>> If not, anyone has any idea of what is happening?
>>
>> Best Regards,
>> Vivian
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
RE: Using HTTP and CXF-BC components at the same time
Posted by Madesclair Vivian <vm...@sopragroup.com>.
Yes, that's what I was thinking.
But port config is define at smx level, isn't it?
Therefore, in the same instance of servicemix, I cannot use both HTTP-BC and CXF-BC?
Regards,
Vivian
-----Message d'origine-----
De : Freeman Fang [mailto:freeman.fang@gmail.com]
Envoyé : vendredi 10 juillet 2009 16:51
À : users@servicemix.apache.org
Objet : Re: Using HTTP and CXF-BC components at the same time
Hi,
CXF-BC can work with HTTP-BC
But if you mean both your http endpoint and cxf bc endpoint use same
8192 port, I think it will cause port conflict
Freeman
On 2009-7-10, at 下午10:40, Madesclair Vivian wrote:
> Hello,
>
> In my servicemix project, I have come to a point where I deploy 2 SA
> which are independant.
> The first SA is using an HTTP and a Mail component. It is called by a
> java application, and it calls a mail server.
> The second SA is using 2 CXF-BC, and 2 EIP components. It is called by
> the same java application and calls a java axis web service.
>
> When I deploy independently each SA, they work. When I deploy both,
> the first SA seems to be deployed fine according to smx logs but it is
> actually hidden, I can't access it.
>
> When I try http://myIP:8192/ to have a list of accessible endpoints,
> only the CXF-BC is shown. Does the CXF-BC prevent the use of HTTP- BC?
> If not, anyone has any idea of what is happening?
>
> Best Regards,
> Vivian
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: Using HTTP and CXF-BC components at the same time
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
CXF-BC can work with HTTP-BC
But if you mean both your http endpoint and cxf bc endpoint use same
8192 port, I think it will cause port conflict
Freeman
On 2009-7-10, at 下午10:40, Madesclair Vivian wrote:
> Hello,
>
> In my servicemix project, I have come to a point where I deploy 2 SA
> which are independant.
> The first SA is using an HTTP and a Mail component. It is called by a
> java application, and it calls a mail server.
> The second SA is using 2 CXF-BC, and 2 EIP components. It is called by
> the same java application and calls a java axis web service.
>
> When I deploy independently each SA, they work. When I deploy both,
> the
> first SA seems to be deployed fine according to smx logs but it is
> actually hidden, I can't access it.
>
> When I try http://myIP:8192/ to have a list of accessible endpoints,
> only the CXF-BC is shown. Does the CXF-BC prevent the use of HTTP-
> BC? If
> not, anyone has any idea of what is happening?
>
> Best Regards,
> Vivian
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com