| Summary: | Web Services component causes excesive data fragmentation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 5 | Reporter: | Pilar Bravo <pbravo> | ||||||||
| Component: | jbossas | Assignee: | Fernando Nasser <fnasser> | ||||||||
| Status: | NEW --- | QA Contact: | |||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 5.1.2 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | Type: | --- | |||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 556558 [details]
pcap capture showing fragmentation
Created attachment 556559 [details]
pcap capture showing fragmentation
|
Created attachment 556557 [details] Modified class Description of problem: When calling web services from a client, and using WS-Security, there is a generated chunk for every tag inside the XML document, causing excesive fragmentation. This chunk is generated due to an unnecesary flush in org.jboss.common.DOMWriter. See attached the modified class. In the modified class there is also a new system property domwriter.flush in order to be able to activate/deactivate the change with the option -Ddomwriter.flush Version-Release number of selected component (if applicable): jbossws-common.jar included in JBoss EAP 5.x How reproducible: Create a web service and capture network packets in order to see the fragmentation. I also attach pcap files showing the problem.