cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gudian (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5676) IllegalArgumentException: wrong number of arguments while invoking operation with only an implicit header parameter
Date Mon, 07 Apr 2014 07:42:14 GMT

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

Andreas Gudian updated CXF-5676:
--------------------------------

    Attachment: implicit-header-with-no-args.zip

Just unpack and run with {{mvn test}} - one of the three tests fails due to this issue, the
other two tests demonstrate cases were it works.

> 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: 3.0.0-milestone2, 2.7.10
>            Reporter: Andreas Gudian
>         Attachments: implicit-header-with-no-args.zip
>
>
> 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)

Mime
View raw message