Inconsistent Array Elements Sorting Order In OCSG SOAP Response

(Doc ID 1380406.1)

Last updated on AUGUST 14, 2013

Applies to:

Oracle Communications Services Gatekeeper - Version 5.0.0 to 5.0.0 [Release 5.0]
Information in this document applies to any platform.

Symptoms

With Array of complexType declared in WSDL for customized communication service, the output order of array elements in SOAP Response sent by OCSG is disordered than it was originally set in the NT plugin.

Below is the snippet of WSDL:

<xsd:complexType name="Array_Ids">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="common_xsd:List_Of_Ids[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>


And NT plugin set List_Of_Ids like below:

value of j=0 || value of id=0:username
value of j=1 || value of id=1:username
value of j=2 || value of id=2:username
value of j=3 || value of id=3:username
value of j=4 || value of id=4:username
value of j=5 || value of id=5:username
value of j=6 || value of id=6:username
value of j=7 || value of id=7:username
value of j=8 || value of id=8:username
value of j=9 || value of id=9:username
value of j=10 || value of id=10:username
value of j=11 || value of id=11:username
value of j=12 || value of id=12:username
value of j=13 || value of id=13:username
value of j=14 || value of id=14:username
value of j=15 || value of id=15:username
value of j=16 || value of id=16:username
value of j=17 || value of id=17:username
value of j=18 || value of id=18:username
value of j=19 || value of id=19:username
value of j=20 || value of id=20:username
value of j=21 || value of id=21:username
value of j=22 || value of id=22:username
value of j=23 || value of id=23:username
value of j=24 || value of id=24:username
value of j=25 || value of id=25:username
value of j=26 || value of id=26:username
value of j=27 || value of id=27:username
value of j=28 || value of id=28:username
value of j=29 || value of id=29:username


Here is what returned by SOAP response:

<list_of_ids soapenc:arrayType="sdp:List_Of_Ids[30]">
<item>
<sequence_no>0</sequence_no>
<id>0:username</id>
</item>
<item>
<sequence_no>1</sequence_no>
<id>1:username</id>
</item>
<item>
<sequence_no>10</sequence_no>
<id>10:username</id>
</item>
<item>
<sequence_no>11</sequence_no>
<id>11:username</id>
</item>
<item>
<sequence_no>12</sequence_no>
<id>12:username</id>
</item>
<item>
<sequence_no>13</sequence_no>
<id>13:username</id>
</item>
<item>
<sequence_no>14</sequence_no>
<id>14:username</id>
</item>
<item>
<sequence_no>15</sequence_no>
<id>15:username</id>
</item>
<item>
<sequence_no>16</sequence_no>
<id>16:username</id>
</item>
<item>
<sequence_no>17</sequence_no>
<id>17:username</id>
</item>
<item>
<sequence_no>18</sequence_no>
<id>18:username</id>
</item>
<item>
<sequence_no>19</sequence_no>
<id>19:username</id>
</item>
<item>
<sequence_no>2</sequence_no>
<id>2:username</id>
</item>
<item>
<sequence_no>20</sequence_no>
<id>20:username</id>
</item>
<item>
<sequence_no>21</sequence_no>
<id>21:username</id>
</item>
<item>
<sequence_no>22</sequence_no>
<id>22:username</id>
</item>
<item>
<sequence_no>23</sequence_no>
<id>23:username</id>
</item>
<item>
<sequence_no>24</sequence_no>
<id>24:username</id>
</item>
<item>
<sequence_no>25</sequence_no>
<id>25:username</id>
</item>
<item>
<sequence_no>26</sequence_no>
<id>26:username</id>
</item>
<item>
<sequence_no>27</sequence_no>
<id>27:username</id>
</item>
<item>
<sequence_no>28</sequence_no>
<id>28:username</id>
</item>
<item>
<sequence_no>29</sequence_no>
<id>29:username</id>
</item>
<item>
<sequence_no>3</sequence_no>
<id>3:username</id>
</item>
<item>
<sequence_no>4</sequence_no>
<id>4:username</id>
</item>
<item>
<sequence_no>5</sequence_no>
<id>5:username</id>
</item>
<item>
<sequence_no>6</sequence_no>
<id>6:username</id>
</item>
<item>
<sequence_no>7</sequence_no>
<id>7:username</id>
</item>
<item>
<sequence_no>8</sequence_no>
<id>8:username</id>
</item>
<item>
<sequence_no>9</sequence_no>
<id>9:username</id>
</item>
</list_of_ids>



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms