Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4624

Poor performance with large(?) data structures

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: adb
    • Labels:
    • Environment:
      Windows XP; Tomcat 6.0; axis2 1.5.1

      Description

      While returning large data structures from web service method, conversion of java objects to xml takes long time.

      We return an array of complex java type.

      Web service method returns array of 100 objects of the same type.
      Resulting .xml size is ~800 kB.
      Conversion takes 15 seconds.

      Here is some log:
      [DEBUG] 10:49:22:686 [called web service method returns, axis starts processing]
      [TRACE org.apache.axiom] 10:49:22:701 START_ELEMENT:
      .
      .
      .
      [TRACE org.apache.axiom] 10:49:37:498 END_ELEMENT:
      [TRACE org.apache.axiom] 10:49:37:498 QName:

      {http://logistic.impl.ws.biz.esc.meb.max.com.pl}

      getItemsResponse
      [DEBUG org.apache.axis2 ] 10:49:37:498 [MessageContext: logID=urn:uuid:A3DDF9D625B38D7BB01266227375558] Checking pre-condition for Phase "soapmonitorPhase"

      This issue causes timeout-related problems on production environment.
      I suppose it's could be optimized after all it's just 100 structurally the same xml pieces.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jacekw jacekw
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: