axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5918) Axis2 migration failure with SOAP with Attachment
Date Fri, 08 Jun 2018 18:04:00 GMT


robert lazarski commented on AXIS2-5918:

The axis2 version is not listed, and the stack trace does not line up with the last few releases.
What version are you running? I suggest upgrading to 1.7.8 as the first next step.

Best I can tell, RPCUtil.invokeServiceClass() is failing in its reflection attempt because
the number of arguments is not what is expected, i.e. your param list has too many or too
few arguments.

If your problem is time sensitive I suggest compiling from source from the latest release,
and adding some debug statements around the reflection area in RPCUtil.invokeServiceClass()

svn co




> Axis2 migration failure with SOAP with Attachment
> -------------------------------------------------
>                 Key: AXIS2-5918
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Anoobkumar
>            Priority: Major
> I am migrating a project which accepts SOAP with Attachment as request from Axis to Axis2
framework. Modules, services everything created and build/deployment went fine. But when I
try a request, I am getting below error. in log. Any advise to share?
> 01 Jun 2018 11:21:01 ERROR : wrong number of arguments
> java.lang.IllegalArgumentException: wrong number of arguments
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>  at java.lang.reflect.Method.invoke(
>  at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(
>  at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(
>  at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(
>  at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
>  at org.apache.axis2.engine.AxisEngine.receive(
>  at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
>  at org.apache.axis2.transport.http.AxisServlet.doPost(
>  at javax.servlet.http.HttpServlet.service(
>  at javax.servlet.http.HttpServlet.service(
>  at weblogic.servlet.internal.StubSecurityHelper$
>  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
>  at weblogic.servlet.internal.ServletStubImpl.execute(
>  at weblogic.servlet.internal.ServletStubImpl.execute(
>  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(
>  at weblogic.servlet.internal.WebAppServletContext$
>  at
>  at
>  at weblogic.servlet.internal.WebAppServletContext.securedExecute(
>  at weblogic.servlet.internal.WebAppServletContext.execute(
>  at
>  at
>  at

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message