Hi Andrea,

You can add bean ref to you cxf bc provider configuration. something like
<bean id="mapAggregator" class="org.apache.cxf.ws.addressing.MAPAggregator"/>
<bean id="mapCodec" class="org.apache.cxf.ws.addressing.soap.MAPCodec"/>

<cxfbc:provider wsdl="/wsdl/hello_world.wsdl"
locationURI="http://localhost:9002/providertest_oneway";
                     endpoint="SoapPort"
                     service="greeter:SOAPService"
                     interfaceName="greeter:Greeter"
                     >
       <cxfbc:inInterceptors>
         <ref bean="mapAggregator"/>
         <ref bean="mapCodec">
       </cxfbc:inInterceptors>
       <cxfbc:outInterceptors>
         <ref bean="mapAggregator"/>
         <ref bean="mapCodec">
       </cxfbc:outInterceptors>
     </cxfbc:provider>

Best Regards

Freeman


Andrea Zoppello wrote:
Hi,

After doing a lot of debug i don't really understand how to prepare
a normalize message, so that when this is pass to a servicemix cxf-provider this
will result in a SOAP Call with WSA Addressing elements in soap header.

This problem is blocking me, because i've to call external webservice that needs
WSA addressing in soap header..

Any idea on how to solve this???

Andrea Zoppello

Reply via email to