Hi,

I assume you are using servicemix 3.2.2 snapshot, then you can add useJBIWrapper="false" to cxf consumer configuration.

Freeman


Ivanhoe Abrahams wrote:
Hello

I am trying to set up a simple example whereby I have a CXF consumer
endpoint which forwards to my JMS provider which calls out to a simple
ActiveMQ queue which responds with a hardcoded message
I can make the call from SoapUI and can see the message ending up at the
external ActiveMQ test-app which responds with the hardcoded message,

The problem is that the JMS provider component does not SEEM wrap the
response in a Normalized message, and as a result  the CXF consumer
complains....
and sends back the following fault to the SoapUI.

<faultstring>Message wrapper element is '{
http://servicemix.apache.org/cxf-jms/types}GetPersonResponse' but expected
'{http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper}message'</faultstring>

Below is my CXF consumer SU xbean.xml and my JMS provider SU  xbean.xml

 CXF XBEAN.XML -->
<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"; xmlns:test="
http://servicemix.apache.org/cxf-jms";>
  <cxfbc:consumer wsdl="classpath:test.wsdl"
targetService="test:MyPersonService"/>
</beans>


<jms:endpoint service="test:MyPersonService"
   endpoint="myProvider"
   role="provider"
   destinationStyle="queue"
   jmsProviderDestinationName="TOOL.DEFAULT"
   connectionFactory="#connectionFactory"
   wsdlResource="classpath:test.wsdl"
   defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
   soap="true" />


Any help would be appreciated

ICA


Reply via email to