[ http://jira.codehaus.org/browse/XFIRE-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100718 ]
Emmanuel Servent commented on XFIRE-687: ---------------------------------------- Hi, In my configuration, I always see the redundant namespace in attributes. I'm using the latest release of Xfire (1.2.6), Stax (1.2.0). I'm using Spring (1.2.8) to configure XFire. The AppServer is Weblogic Server 8.1 SP4 with JDK-1.4.2_12. What can I do to resolve this heavy problem? Thank you. SOAP message: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <ns1:getListClientsResponse xmlns:ns1="http://services.myapp.fr"> <ns1:out> <ns1:Client> <IDClient xmlns="http://services.myapp.fr">1000123456</IDClient> </ns1:Client> </ns1:out> </ns1:getListClientsResponse> </soap:Body> </soap:Envelope> > 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 > Assignee: Tomasz Sztelak > Fix For: 1.2.6 > > Attachments: XFIRE-687.patch > > > 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