You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Liav Ezer <li...@gmail.com> on 2008/12/30 14:36:08 UTC

Need assitance on which BC to choose & how to configure it

Hi,

I want to create the following component schema:

                                    __________                                
________________________
---ClientSOAPRequest--->|BC            |<---inputFromCamel---|Camel
RouterBuilder     |
<--ClientResponse--------|               |----outputForCamel---|                                     
|
                                    __________                                
________________________

In words:

My BC consume SOAP request from client & provide a response.

In addition it consumes input (don't know which protocol yet) from Camel &
also provides it with input of the client request.

I thought of a servicemix-http new endpoint called http:soap-consumer.

One extra small question: Can i define for this scenario 4 endpoint (2
consumers & 2 providers) in the same SU - meaning that i'll have one spring
xbean file?

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/Need-assitance-on-which-BC-to-choose---how-to-configure-it-tp21217248p21217248.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Need assitance on which BC to choose & how to configure it

Posted by Ashwin Karpe <as...@progress.com>.
Hi Liav,

My immediate instinct would be to recomment the HTTP-BC, however, since you
mention SOAP request I would further qualify my answer and check whether
there is any WS-Security, WS-RM or any WS related tagging of the SOAP
payloads.

If so then I would use the CXF-BC since the HTTP-BC does not support JAX-WS
and any WS-* specifications. It does however validate payloads against WSDL
if necessary.

Hope this helps.

Cheers,

Ashwin...


Liav Ezer wrote:
> 
> Hi,
> 
> I want to create the following component schema:
> 
>                                     __________                                
> ________________________
> ---ClientSOAPRequest--->|BC            |<---inputFromCamel---|Camel
> RouterBuilder     |
> <--ClientResponse--------|               |----outputForCamel---|                                     
> |
>                                     __________                                
> ________________________
> 
> In words:
> 
> My BC consume SOAP request from client & provide a response.
> 
> In addition it consumes input (don't know which protocol yet) from Camel &
> also provides it with input of the client request.
> 
> I thought of a servicemix-http new endpoint called http:soap-consumer.
> 
> One extra small question: Can i define for this scenario 4 endpoint (2
> consumers & 2 providers) in the same SU - meaning that i'll have one
> spring xbean file?
> 
> Thanks in advance.
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: http://www.nabble.com/Need-assitance-on-which-BC-to-choose---how-to-configure-it-tp21217248p21218694.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Need assitance on which BC to choose & how to configure it

Posted by navigator09 <ga...@gmail.com>.
if the protocol is SOAP over http you can use the servicemix-http component
in the first case. For the second scenario, i.e receiving input from the
camel, you need to decide what the protocol would be and who would be the
target service. In case the target service is a external http service end
point you can club the two endpoints in the same http su.

Regards,
Ganesh

Liav Ezer wrote:
> 
> Hi,
> 
> I want to create the following component schema:
> 
>                                     __________                                
> ________________________
> ---ClientSOAPRequest--->|BC            |<---inputFromCamel---|Camel
> RouterBuilder     |
> <--ClientResponse--------|               |----outputForCamel---|                                     
> |
>                                     __________                                
> ________________________
> 
> In words:
> 
> My BC consume SOAP request from client & provide a response.
> 
> In addition it consumes input (don't know which protocol yet) from Camel &
> also provides it with input of the client request.
> 
> I thought of a servicemix-http new endpoint called http:soap-consumer.
> 
> One extra small question: Can i define for this scenario 4 endpoint (2
> consumers & 2 providers) in the same SU - meaning that i'll have one
> spring xbean file?
> 
> Thanks in advance.
> 

-- 
View this message in context: http://www.nabble.com/Need-assitance-on-which-BC-to-choose---how-to-configure-it-tp21217248p21217721.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Need assitance on which BC to choose & how to configure it

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

You can create this  scenario in the same SA containing :
- one SU for the SOAP consumer
- one SU for the Camel routing

Regards
JB

On Tuesday 30 December 2008 - 05:36, Liav Ezer wrote:
> 
> Hi,
> 
> I want to create the following component schema:
> 
>                                     __________                                
> ________________________
> ---ClientSOAPRequest--->|BC            |<---inputFromCamel---|Camel
> RouterBuilder     |
> <--ClientResponse--------|               |----outputForCamel---|                                     
> |
>                                     __________                                
> ________________________
> 
> In words:
> 
> My BC consume SOAP request from client & provide a response.
> 
> In addition it consumes input (don't know which protocol yet) from Camel &
> also provides it with input of the client request.
> 
> I thought of a servicemix-http new endpoint called http:soap-consumer.
> 
> One extra small question: Can i define for this scenario 4 endpoint (2
> consumers & 2 providers) in the same SU - meaning that i'll have one spring
> xbean file?
> 
> Thanks in advance.
> -- 
> View this message in context: http://www.nabble.com/Need-assitance-on-which-BC-to-choose---how-to-configure-it-tp21217248p21217248.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086