Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4
-
None
-
None
Description
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.