On Saturday, December 24, 2011 6:36:34 PM Pydipati, Karuna wrote:
> Hi
> 
> It seems to be somewhat strange. I have a CXF services exposed in server-A
> and I am calling those services using Spring remoting (not CXF client) from
> server-B. I see the following Exception in server-B. Though, I have cxf jar
> files in classpath in server-B, I don't want to use CXF-client there. I
> just intend to use spring remoting (JAX-WS). How come I have CXF
> interceptor exception there. It's kind of weird. I don't know whether this
> is Spring remoting issue or CXF issue. Please note that it is SOAP call.
> But, the exception is in JsonpInvokeInterceptor. Any help is appreciated

I guess we'd need to see what the JsonpInvokeInterceptor is doing.  That's not 
a CXF provided class.   

It looks like Spring Remoting is using pure JAXWS API's 
(JaxWsPortClientInterceptor) and is picking up CXF's JAXWS implementation to 
use.   That is why it's getting into CXF.  Not sure what the 
JsonpInvokeInterceptor is doing or why it occuring there.   Like Sergey said, 
you may be adding it to the default bus that it would be picking up.   Not 
really sure.

Dan




> 
> 
> 2011-12-24 17:24:26,565 WARN  [org.apache.cxf.phase.PhaseInterceptorChain]
> Interceptor has thrown exception, unwinding n ow
> java.lang.NullPointerException
>         at
> com.stubhub.webservices.common.JsonpInvokeInterceptor.handleMessage(JsonpIn
> vokeInterceptor.java:44) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
> n.java:236) at
> org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:658) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespons
> eInternal(HTTPConduit.java:2139) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespons
> e(HTTPConduit.java:2022) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPCon
> duit.java:1947) at
> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at
> org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632) at
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInte
> rceptor.handleMessage(MessageSende rInterceptor.java:62)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
> n.java:236) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:472) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:302) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:123) at
> $Proxy1155.getSellerFee(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> 9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.doInvoke(JaxW
> sPortClientInterceptor.java:416) at
> org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.doInvoke(JaxW
> sPortClientInterceptor.java:392) at
> org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsP
> ortClientInterceptor.java:379) at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflec
> tiveMethodInvocation.java:171) at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPr
> oxy.java:204)
> 
> Regards
> Karuna Pydipati
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to