I have been able to create a Jetty endpoint and a Content-based router with
Camel. I can intercept the incoming messages and send them to the Camel
router. 

  [SOAP] ->  Jetty endpoint ---> Content based router (camel) ---> CXF BC
(service 1, service 2, service N)

However, I have a problem here. The problem is the router fails to process
the in-message (and thus determinate where it should be sent):

INFO  - PhaseInterceptorChain          - Interceptor has thrown exception,
unwinding now
org.apache.cxf.interceptor.Fault: Message wrapper element is
'{http://schemas.xmlsoap.org/soap/envelope/}Envelope' but expected
'{http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper}message' at
org.apache.servicemix.cxfbc.interceptors.JbiOutWsdl1Interceptor.handleMessage(JbiOutWsdl1Intercepto
r.java:97)
        
I need to send SOAP requests to Jetty. Is there a way to transform the SOAP
message to a JBI message before passing it to Camel?

Thanks,
Angel
-- 
View this message in context: 
http://www.nabble.com/Web-Services-Virtualization-using-ServiceMix-tp25514386p25530932.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to