Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8499611EF0 for ; Mon, 7 Apr 2014 07:38:18 +0000 (UTC) Received: (qmail 92598 invoked by uid 500); 7 Apr 2014 07:38:17 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 92569 invoked by uid 500); 7 Apr 2014 07:38:16 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 92495 invoked by uid 99); 7 Apr 2014 07:38:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 07:38:14 +0000 Date: Mon, 7 Apr 2014 07:38:14 +0000 (UTC) From: "Andreas Gudian (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5676) IllegalArgumentException: wrong number of arguments while invoking operation with only an implicit header parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)