0 Replies Latest reply: Feb 9, 2012 11:06 PM by 904249 RSS

    asix2 webservice -int[] in request behaving differently

    904249
      i have a axis2 webservice where i have declared the request object as int[] array.
      in case i give empty value for first obj and an int value for second the service takes it as null array

      the same case if reversed works fine i.e if i give an int value as first and empty value as second it takes an array of two elements with assigning the -ve high int value to second obj.


      i am testing this through soap ui. is this a bug in axis2 or soap or my code :(

      req

      <soapenv:Header/>
      <soapenv:Body>
      <web:addSecurityPolicies>
      <!--Optional:-->
      <web:userToken>string</web:userToken>
      <!--Optional:-->
      <web:assetID>assetid</web:assetID>
           <web:securityPolicyID></web:securityPolicyID>
           <web:securityPolicyID>1040</web:securityPolicyID>
      </web:addSecurityPolicies>
      </soapenv:Body>
      </soapenv:Envelope>