[
https://issues.apache.org/jira/browse/AXIS2-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258184#comment-13258184
]
Hudson commented on AXIS2-5293:
-------------------------------
Integrated in Axis2 #1366 (See [https://builds.apache.org/job/Axis2/1366/])
Further test resources correction for AXIS2-5293. (Revision 1328293)
Result = SUCCESS
sagara :
Files :
*
/axis/axis2/java/core/trunk/modules/integration/test-resources/ComplexDataTypes/ComplexDataTypes.wsdl
> Axis2 should not generate minOccurs="0" for java primitive types.
> -------------------------------------------------------------------
>
> Key: AXIS2-5293
> URL: https://issues.apache.org/jira/browse/AXIS2-5293
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.5.6, 1.6.1
> Reporter: Sagara Gunathunga
> Assignee: Sagara Gunathunga
> Priority: Critical
> Fix For: 1.7.0, 1.6.3
>
>
> Axis2 POJO support generate minOccurs="0" elements for java primitive
> parameters that will allows to omit relevant XML element from request
> messages. During the unmarshallings process null value is used to represent
> values of those omitted request elements. Finally this will result into
> IllegalArgumentException when it try to pass null value for primitive
> parameters through Java reflection. As a solution Axis2 should not generate
> minOccurs="0" for primitive parameters.
> java.lang.IllegalArgumentException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:256)
> at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]