Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.1
-
None
-
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:
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.