[ 
https://issues.apache.org/jira/browse/AXIS2-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540447#comment-13540447
 ] 

Hudson commented on AXIS2-5427:
-------------------------------

Integrated in Axis2 #2065 (See [https://builds.apache.org/job/Axis2/2065/])
    Applied patch for AXIS2-5427. (Revision 1426447)
Fix for AXIS2-5427. (Revision 1426443)

     Result = SUCCESS
sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderImpl.java
* 
/axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/reader/ADBXMLStreamReaderTest.java

sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java

                
> POJO services with Parameters/return types like List<Integer> not working
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-5427
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5427
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Prabhath Suminda
>            Assignee: Shameera Rathnayaka
>            Priority: Blocker
>             Fix For: 1.7.0
>
>         Attachments: List_Integer.zip, Test-1.aar, WrappedGenericList.patch, 
> WrappedGenericListTest.patch
>
>
> I developed a simple service which has following service class,
> package Test;
> import java.util.*;
> public class SimpleService {
>       
>       public List<Integer> helloService(List<Integer> s){
>               return s;
>       }
> }
> When I deployed this as a AAR file and send following request
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:test="http://Test";>
>    <soapenv:Header/>
>    <soapenv:Body>
>       <test:helloService>
>          <!--1 or more repetitions:-->
>          <test:s>6</test:s>
>          <test:s>6</test:s>
>          <test:s>6</test:s>
>       </test:helloService>
>    </soapenv:Body>
> </soapenv:Envelope>
> It gives me following response which is wrong,
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>    <soapenv:Body>
>       <ns:helloServiceResponse xmlns:ns="http://Test";>
>          <ns:return xsi:type="axis2ns1:int" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>          <ns:return xsi:type="axis2ns2:int" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>          <ns:return xsi:type="axis2ns3:int" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>       </ns:helloServiceResponse>
>    </soapenv:Body>
> </soapenv:Envelope>
> But this works when type is List<String>. I attached the aar file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to