Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-726

Issue In Guththila Parser

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: guththila
    • Labels:
      None
    • Environment:
      Ubuntu

      Description

      I did some performance testings using apache benchmark by using Libxml2 and Guththila Parser with the the math sample which ships with apache Axis2c.Response of the math service with Guththila parser is slightly different to the response with Libxml2.With Guththila parser it add Namespace "http://www.w3.org/2003/05/soap-envelope" in to soap header and soap body as well. Then the document size is different when using two XML parsers.Here are the two soap response soap messages got with two XML parsers.
      ---------------------------------- with Guththila Parser ---------------------------------------------------------------------------------------------------------------------------------------------------
      <soapenv:Envelope xmlns:soapenv = "http://www.w3.org/2003/05/soap-envelope"><soapenv:Header></soapenv:Header><soapenv:Body xmlns:soapenv = "http://www.w3.org/2003/05/soap-envelope"><ns1:result xmlns:ns1 = "http://axis2/test/namespace1">18</ns1:result></soapenv:Body></soapenv:Envelope>
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      -------------------------------------------------with Libxml2 Parser-------------------------------------------------------------------------------------------------------------------------------------
      <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header/><soapenv:Body><ns1:result xmlns:ns1="http://axis2/test/namespace1">18</ns1:result></soapenv:Body></soapenv:Envelope>
      ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      This is probably cause to reduce the speed of Guththila parser since it send nearly 78 more bytes of data in the response message with a simple service like math.But with more data still the Guththila Parser is much faster than with Libxml2.

        Attachments

        1. diff.txt
          5 kB
          Senaka Fernando

          Issue Links

            Activity

              People

              • Assignee:
                xydinesh Dinesh Weerapurage
                Reporter:
                lahiru Lahiru Gunathilake
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: