axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu-Bing Chen (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2526) Excessive namespace usage in SOAP message
Date Tue, 18 Jul 2006 16:44:16 GMT
Excessive namespace usage in SOAP message
-----------------------------------------

                 Key: AXIS-2526
                 URL: http://issues.apache.org/jira/browse/AXIS-2526
             Project: Apache Axis
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Yu-Bing Chen
            Priority: Minor


when the parent element and its child element are using different namespaces, the SOAP message
generated by axis uses excessive namespaces, a lot of xmlns:ns#. For example we only need
to specify one xmlns:ns1=... attribute on the parent node for the following SOAP Body. 

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <LoadAssociatedTemplatesResponse xmlns="urn:www.percussion.com/6.0.0/contentDesign">
         <ns1:PSContentTemplateDesc contentTypeId="8589934908" id="509" templateId="17179869685"
xmlns:ns1="urn:www.percussion.com/6.0.0/content"/>
         <ns2:PSContentTemplateDesc contentTypeId="8589934908" id="536" templateId="17179869696"
xmlns:ns2="urn:www.percussion.com/6.0.0/content"/>
         <ns3:PSContentTemplateDesc contentTypeId="8589934908" id="575" templateId="17179869730"
xmlns:ns3="urn:www.percussion.com/6.0.0/content"/>
         <ns4:PSContentTemplateDesc contentTypeId="8589934908" id="537" templateId="17179869697"
xmlns:ns4="urn:www.percussion.com/6.0.0/content"/>
         <ns5:PSContentTemplateDesc contentTypeId="8589934908" id="538" templateId="17179869698"
xmlns:ns5="urn:www.percussion.com/6.0.0/content"/>
         <ns6:PSContentTemplateDesc contentTypeId="8589934908" id="516" templateId="17179869688"
xmlns:ns6="urn:www.percussion.com/6.0.0/content"/>
         <ns7:PSContentTemplateDesc contentTypeId="8589934908" id="513" templateId="17179869687"
xmlns:ns7="urn:www.percussion.com/6.0.0/content"/>
      </LoadAssociatedTemplatesResponse>
   </soapenv:Body>
</soapenv:Envelope>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message