Hello, 

When I added a interceptor try to get something from Message based on the 
samples/jms_spring_config, I got wrong transport type from SoapBindingInfo.

The implementation of the interceptor like this: 

public void handleMessage(Message message) throws Fault {

        if (message.getExchange().getBinding() instanceof SoapBinding) {
            SoapBinding soapBinding = 
(SoapBinding)message.getExchange().getBinding();
            if (soapBinding.getBindingInfo() instanceof SoapBindingInfo) {
                SoapBindingInfo soapBindingInfo = 
(SoapBindingInfo)soapBinding.getBindingInfo();
                System.out.println("Transport Type is: " + 
soapBindingInfo.getTransportURI());
            }
        }
}

The expected string should be:  http://schemas.xmlsoap.org/soap/jms
But the output is :  http://schemas.xmlsoap.org/soap/http 

Is there a problem or I missed something?  Thanks!    (CXF version used is 
2.5.0)

Regards
Xilai

Reply via email to