[ http://jira.codehaus.org/browse/XFIRE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86011 ]
Tom Hill commented on XFIRE-687: -------------------------------- Here's a forum post containing more information on this issue: http://www.nabble.com/SOAP-response-contains-redundant-namespaces-t3084484.html We're noticing the redundant namespaces when using Aegis bindings with the latest versions of XFire, Stax API, and Woodstox, on top of Java 1.4.2 in Sun AppServer 7. Our company is using XFire for web services that receive over a million hits a day, so the bandwidth used by the redundant namespaces in SOAP responses is _very_ significant. We appreciate any help you can give on the issue, Dan. > Performance issue because of duplicate manespace declarations > ------------------------------------------------------------- > > Key: XFIRE-687 > URL: http://jira.codehaus.org/browse/XFIRE-687 > Project: XFire > Issue Type: Improvement > Affects Versions: 1.2.1 > Reporter: Tawfik Lachheb > Assigned To: Dan Diephouse > > 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> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email