You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by mymacin <my...@yahoo.com> on 2011/09/04 15:37:13 UTC

RPC/Literal Problem : Found element arg0 but could not find matching RPC/Literal part

 Hi everyone,


When I try to apply @SOAPBinding(style=SOAPBinding.Style.RPC)  annotation to
Service bean . while I am consuming this service getting below exception .


org.apache.cxf.interceptor.Fault: Found element arg0 but could not find
matching RPC/Literal part
        at
org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCInInterceptor.java:171)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:736)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1563)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1448)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1356)
        at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:614)
        at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSende
rInterceptor.java:62)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:484)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:414)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:269)
        at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)

--
View this message in context: http://cxf.547215.n5.nabble.com/RPC-Literal-Problem-Found-element-arg0-but-could-not-find-matching-RPC-Literal-part-tp4767578p4767578.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: RPC/Literal Problem : Found element arg0 but could not find matching RPC/Literal part

Posted by Daniel Kulp <dk...@apache.org>.
On Sunday, September 04, 2011 6:37:13 AM mymacin wrote:
>  Hi everyone,
> 
> 
> When I try to apply @SOAPBinding(style=SOAPBinding.Style.RPC)  annotation to
> Service bean . while I am consuming this service getting below exception .

Bunch of questions:

Did you apply it to the SEI as well?   Has the client been regenerated with 
the new RPC style WSDL?    Are there "@WebParam/@WebResult" annotations that 
are in affect?   Are there IN/OUT params?

Basically, is it possible to create a testcase?

Dan

> 
> 
> org.apache.cxf.interceptor.Fault: Found element arg0 but could not find
> matching RPC/Literal part
>         at
> org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCIn
> Interceptor.java:171) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
> .java:263) at
> org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:736) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> Internal(HTTPConduit.java:1563) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> (HTTPConduit.java:1448) at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPCond
> uit.java:1356) at
> org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
>         at
> org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:614)
>         at
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInter
> ceptor.handleMessage(MessageSende rInterceptor.java:62)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
> .java:263) at
> org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:484) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:414) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:269) at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/RPC-Literal-Problem-Found-element-arg0-but-
> could-not-find-matching-RPC-Literal-part-tp4767578p4767578.html Sent from
> the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com