Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug logging will hide parsing error on non well formed xml, and continue processing with incomplete xml [SWS-588] #704

Closed
gregturn opened this issue Dec 13, 2009 · 3 comments
Assignees
Milestone

Comments

@gregturn
Copy link
Member

Wolter Eldering opened SWS-588 and commented

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.


Affects: 1.5.7

Attachments:

@gregturn
Copy link
Member Author

Wolter Eldering commented

unit test showing the issue.

@gregturn
Copy link
Member Author

gregturn commented Jan 6, 2010

Arjen Poutsma commented

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: 

@gregturn
Copy link
Member Author

gregturn commented May 4, 2012

Arjen Poutsma commented

Closing old issues

@gregturn gregturn closed this as completed May 4, 2012
@gregturn gregturn added this to the 1.5.9 milestone Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants