[jbossws-issues] [JBoss JIRA] Created: (JBWS-3021) Multiply namespace declaration in envelope elements

Sergey Chernov (JIRA) jira-events at lists.jboss.org
Thu May 6 08:49:05 EDT 2010


Multiply namespace declaration in envelope elements
---------------------------------------------------

                 Key: JBWS-3021
                 URL: https://jira.jboss.org/jira/browse/JBWS-3021
             Project: JBoss Web Services
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions:  jbossws-native-3.2.2
         Environment: Jboss 5.1.0GA
jdk 1.6.0_17
            Reporter: Sergey Chernov


While building soap envelope JbossWS declares name-space  several times.

For example, 
method returns array of string records, where some of them are null: 
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <ns2:getNilElementResponse xmlns:ns2="http://service.domain.com/">
         <return>
            <values>
               <records>test</records>
               <records xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               <records>test1</records>
               <records xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            </values>
         </return>
      </ns2:getNilElementResponse>
   </env:Body>
</env:Envelope>

It would be good to place `xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"` to the `env:body` or to the parent tag. 
This issue is critical, when huge amount of null data is transfered to customer application. 



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

        


More information about the jbossws-issues mailing list