Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.1
-
Fix Version/s: 1.2.6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The size of the SOAP responses returned can increase to the point where it can affect performance. This is due to namespaces being declared multiple times when it is not necessary sometimes. For example, this is a portion of a response containing a long array of KeyValue from a service published using Glue:
<n3:KeyValue xsi:type="n3:KeyValue">
<key xsi:type="xsd:string">AC</key>
<value xsi:type="xsd:string">Antigua and Barbuda</value>
</n3:KeyValue>
<n3:KeyValue xsi:type="n3:KeyValue">
<key xsi:type="xsd:string">AE</key>
<value xsi:type="xsd:string">United Arab Emirates</value>
</n3:KeyValue>
The same service published with xfire would return:
<ns2:KeyValue xmlns:ns2="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">
<key xmlns="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">AC</key>
<value xmlns="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">Antigua and Barbuda</value>
</ns2:KeyValue>
<ns2:KeyValue xmlns:ns2="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">
<key xmlns="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">AE</key>
<value xmlns="http://www.arcwebservices.com/v2006_1/com.esri.aws.dto/">United Arab Emirates</value>
</ns2:KeyValue>