Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2949

Log level has affected some logic.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • None
    • WSDL processing
    • None
    • Hide
      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());
                  }
              }
      Show
      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());             }         }

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zcaiang anna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: