-
Feature Request
-
Resolution: Won't Do
-
Major
-
jbossws-native-3.2.2
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.