On Mar 19, 2014, at 3:13 AM, SPB <[email protected]> wrote:

> Using the latest Apache CXF 2.7.10 (maven plugin) and getting runtime
> exception when calling generated code:
> 
>    java.lang.ClassCastException: java.lang.String cannot be cast to
> java.util.Map at
> org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor.setSoapAction(SoapPreProtocolOutInterceptor.java:111)
>  
> 
> Any ideas on how to work around this?

Any chance you can create a sample project?   The line there is:

 Map<String, List<String>> reqHeaders 
                = CastUtils.cast((Map<?, 
?>)message.get(Message.PROTOCOL_HEADERS));
> 

so something is setting the PROTOCOL_HEADERS to just a String, not a a Map like 
it would need to be.   

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to