camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sigmund Lundgren <sigmund.lundg...@gmail.com>
Subject cxf web service routing and camel
Date Tue, 03 Apr 2012 10:39:08 GMT
Hi! 

I'm working on a simple route, started by an ant script posting an HTML form to a servlet
endpoint 
followed by a velocity template transform and then sending it of to an external web service.

        from("servlet:///order?matchOnUriPrefix")
            .process(orderProcessor)
            .to("velocity:classpath:OrderRechargeCardsForStockStart.vm")
//            .setHeader("operationName", constant("orderRechargeCardsForStockStart"))
            .to(webServiceEndpoint)


It works fine using the http component for the webServiceEndpoint. In a integration test case
I'm
able to use a cxf component instead, but when the app is deployed in tomcat the response is
just rubbish.
Why?

Testing against a SOAPUI MockService.

Suggestions on other approached are welcome to.
-- 
Sigmund Lundgren


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message