Do you need  to implement the real webservices server ?
If not, you can skip the RealWebServiceBean part and just change the route to be
<route>
     <!-- cxf consumer using MESSAGE format -->
     <from uri="cxf:bean:reportIncident?dataFormat=MESSAGE"/>
     <!-- send proxied request to real web service -->
<to uri="http://REAL_SERVICE_ADDRESS/real-webservice?throwExceptionOnFailure=false"/>
     <!-- log answer from real web service -->
     <to uri="log:output"/>
   </route>
On Fri Aug  5 03:46:34 2011, chandraprabha wrote:
Thanks for reply.

One question in RealWebServiceBean class


i have the url set to http://stage-esb01.test.net:8092/Service/MemberWs/

So in example they pass the service object which is the implementation of
SEI but in my case i just want the request to be forwarded to real service
and get the response back.
    endpoint = Endpoint.publish(url, service);



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-example-cxf-proxy-need-help-tp4667517p4667708.html
Sent from the Camel - Users 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

Reply via email to