We are facing issue with webservice method returning a java array object of 3000 elements.System is getting Outofmemory and timeout errors.
JAX RPC Webservices using Axis2 and IBM implemention
Can anyone please suggest how to handle huga java objects using webservices.
Pinned topic IBM Webservices returning huge java object
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-10-25T18:32:08Z at 2011-10-25T18:32:08Z by SystemAdmin
seohulu 270004MXRX1 Post
Re: IBM Webservices returning huge java object2011-10-24T21:25:08ZThis is the accepted answer. This is the accepted answer.did you try to increase the heapsize of Axis2?edit the bin/axis2server.sh file
java -classpath "$AXIS2...
java -Xms256m -Xmx4g -classpath "$AXIS2...
Acoolme is an Online Marketing Software Platform And Social Community
SystemAdmin 110000D4XK2768 Posts
Re: IBM Webservices returning huge java object2011-10-25T18:32:08ZThis is the accepted answer. This is the accepted answer.
- seohulu 270004MXRX
WebService is created in WSAD:
We have created the webservice with bottom up approach in WSAD5 which returns Array of Java Objects using wsdl4j.
Webservice Client code is generated in RAD7:
The client stubs are generated from WSDL in RAD7 using Apache Axis 1.3 WSDL2Java emitter.
When a webservice method is invoked which returns 5000+java array objects, then out of memory error is thrown from the client side ,due to Serilaize/DeSerialize issue.
The setting which was mentioned above,can you please let me know where to apply it or is it applicable in my case.