-
Bug
-
Resolution: Obsolete
-
Major
-
EAP_EWP 5.1.0
-
None
-
-
Workaround Exists
-
-
Medium
-
-
Documented as Resolved Issue
-
NEW
The issue here is that when a ws client sends a response which contains an invalid character, no exception is propagated up the stack to the client and it just returns null. The expected behaviour would be that the client stub throws a javax.xml.ws.WebServiceException. The actual error is only logged to stderr.
ERROR [STDERR] [Fatal Error] :2:1462: An invalid XML character (Unicode: 0xffff) was found in the element content of the document.
Within org.jboss.ws.core.soap.EnvelopeBuilderDOM.java there is a boolean ignoreParseError that seems to be set to true. This means whereever an exception is caught the return value is null. Is there a specific reason for why this is done like this? What would be the suggested approach to changing this as this seems to be called in a few places but I only see it set to a hardcoded value.
- blocks
-
JBPAPP-7110 [JBossWS] Release JBossWS Native 3.1.2.SP12
- Closed
- incorporates
-
JBWS-2651 ClassCast Exception in case of malformed webservice response
- Closed