You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andreas Gudian (JIRA)" <ji...@apache.org> on 2014/04/07 09:38:14 UTC
[jira] [Created] (CXF-5676) IllegalArgumentException: wrong number
of arguments while invoking operation with only an implicit header
parameter
Andreas Gudian created CXF-5676:
-----------------------------------
Summary: IllegalArgumentException: wrong number of arguments while invoking operation with only an implicit header parameter
Key: CXF-5676
URL: https://issues.apache.org/jira/browse/CXF-5676
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.7.10, 3.0.0-milestone2
Reporter: Andreas Gudian
I have an operation with no arguments, only an implicit header with direction {{IN}}. Calling the operation fails:
{code}
javax.xml.ws.soap.SOAPFaultException: wrong number of arguments while invoking public java.util.List sample.ImplicitHeaderWithExtSoapHeaderINSampleTest$ImplicitHeaderSampleImplementation.operationWithNoArgs(com.sample.audit.Audit) with params [com.sample.audit.Audit@c19fbf, com.sample.audit.Audit@c19fbf].
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:159)
{code}
It works for operations with non-empty parameters and when the implicit header has direction INOUT.
I'll attach a sample that demonstrates the issue.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.2#6252)