[ 
https://issues.apache.org/jira/browse/CXF-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

willem Jiang resolved CXF-1107.
-------------------------------

    Resolution: Fixed

This fix is in the SVN repository.

> Local transport direct dispatch mode can't work
> -----------------------------------------------
>
>                 Key: CXF-1107
>                 URL: https://issues.apache.org/jira/browse/CXF-1107
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>
> If we use local transport and set the LocalConduit.DIRECT_DISPATCH to be true
> requestContext.put(LocalConduit.DIRECT_DISPATCH, true);
> We will get the NPE which likes this.
> java.lang.NullPointerException
>       at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:94)
>       at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:76)
>       at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:57)
>       at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254)
>       at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205)
>       at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>       at 
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to