[SWS-588] debug logging will hide parsing error on non well formed xml, and continue processing with incomplete xml Created: 13/Dec/09  Updated: 04/May/12  Resolved: 06/Jan/10

Status: Closed
Project: Spring Web Services
Component/s: XML
Affects Version/s: 1.5.7
Fix Version/s: 1.5.9

Type: Bug Priority: Major
Reporter: Wolter Eldering Assignee: Arjen Poutsma
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 14m
Original Estimate: Not Specified

java version "1.6.0_07"
Windows & Linux

Attachments: Text File MessageLazyLoadTest.java    


logResponse will call toString() on the message, this will trigger the parsing of the xml, parsing exceptions are suppressed by toString. However the message (SaajSoapMessage) will be partially filled.
When getEnvelope() is called the incomplete message will be returned without any error or exception.

Comment by Wolter Eldering [ 13/Dec/09 ]

unit test showing the issue.

Comment by Arjen Poutsma [ 06/Jan/10 ]

This issue does not seem to exist anymore in the current 1.5.9 SVN codebase. I get the following exception when the message is loaded:

org.springframework.ws.soap.saaj.SaajSoapMessageException: Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: 
Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Wed Oct 24 01:47:29 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.