First you route could be like this,
from(cxf:bean:A).to(cxf:bean:B).

from part is CXF server, to part is CXF client.

This route just redirect the request from A to B.

Now if you want the SOAP UI get the response, you need to start a Web service for the CXF client B to access.


On 9/2/11 9:41 PM, skompelly wrote:
Thanks Willem for your quick responses.

Then this case

1) routeEndPoint is listening at 9004 , this will consume the message from
soapui.
2) serviceEndPoint has to listen at 9000, this will invoke the actual
method.

Means for every web sevice with WSDL , there should be two port open inorder
to execute the method. Is this true my understanding?

Is there any approach other than this. So that when i send a request from
soapui, i want to invoke the method directly serviceEndPoint.

Thanks,
Santosh



On Fri, Sep 2, 2011 at 3:02 PM, Willem.Jiang [via Camel]<
ml-node+4762282-1151138681-222...@n5.nabble.com>  wrote:

You need to make sure there is a web service which listen to address of
serviceEndpoint.

On Fri Sep  2 20:52:05 2011, skompelly wrote:

yeah i sent the request to routerEndpoint,

its consumed and serviceEndpoint is throwing the error message as

"could not send message"  in soapui


--
View this message in context:
http://camel.465427.n5.nabble.com/cxf-bean-producer-consumer-tp4761986p4762239.html

Sent from the Camel Development mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang



------------------------------
  If you reply to this email, your message will be added to the discussion
below:

http://camel.465427.n5.nabble.com/cxf-bean-producer-consumer-tp4761986p4762282.html
  To unsubscribe from cxf : bean producer consumer, click 
here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4761986&code=c2tvbXBlbGx5QGdtYWlsLmNvbXw0NzYxOTg2fDE3NDA0Mzc2OTM=>.







--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to