Hi Gert,

I tried using the useJBIWrapper='false' attribute in my CXF BCs.


Gert Vanthienen wrote:
> 
> You can also configure the CXF BC provider endpoint to handle the Soap
> envelope directly instead of expecting a JBI-wrapped message by adding
> the useJBIWrapper='false' attribute to the endpoint definition.
> 

When I did that the assembly was throwing this exception:

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 couldn't get around this :( so I decided to transform the SOAP request
into a JBI message.
-- 
View this message in context: 
http://www.nabble.com/Web-Services-Virtualization-using-ServiceMix-tp25514386p25604675.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to