anna created AXIS-2949:
--------------------------
Summary: Log level has affected some logic.
Key: AXIS-2949
URL: https://issues.apache.org/jira/browse/AXIS-2949
Project: Axis
Issue Type: Improvement
Components: WSDL processing
Affects Versions: 1.4
Reporter: anna
If log level set to info,requestMessage will be validated after requestHandler
process.
But if log level set to debug, requestMessage will be validated before
requestHandler process.
Code as below:
In org.apache.axis:axis-1.4.jar
org.apache.axis.client.Call.invoke()
if (log.isDebugEnabled()) {
StringWriter writer = new StringWriter();
try {
SerializationContext ctx = new SerializationContext(writer,
this.msgContext);
requestMessage.getSOAPEnvelope().output(ctx);
writer.close();
} catch (Exception var11) {
throw AxisFault.makeFault(var11);
} finally {
log.debug(writer.getBuffer().toString());
}
}
in requestMessage.getSOAPEnvelope().output(ctx), requestMessage will be
validated according xml schema.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]