Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-milestone2, 2.7.10
-
None
-
Unknown
Description
I have an operation with no arguments, only an implicit header with direction IN. Calling the operation fails:
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)
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!
Attachments
Attachments
Issue Links
- duplicates
-
CXF-5677 Operation without body but non empty header causes IllegalArgumentException
- Closed