Hello,

I'm using the cxf component as producer in dispatch mode as specify in 
http://camel.apache.org/cxf.html.

The endpoint:
        <cxf:cxfEndpoint id="myEndpoint" address="http://hostname/servi
ce/soap">;
                <cxf:properties>
                <entry key="dataFormat" value="PAYLOAD"/>
        </cxf:properties>
        </cxf:cxfEndpoint>


The relevant part of the route:

                .setHeader(SoapBindingConstants.SOAP_ACTION,
constant("urn:InsertObservation"))
                .to("cxf:bean:myEndpoint")

Enabling debug I can see:

...
DefaultCxfBinding              DEBUG Propagate to CXF header:
SOAPAction value: urn:InsertObservation
...
Headers                        DEBUG SOAPAction: ""
..


Using wireshark I can confirm that the SOAPACtion http header is empty.


Is it a bug? Something missing?

Regards

Alberto

Reply via email to