Could narrow down the issue to SOAP_TMPLEN buffer used in stdsoap2.h file. Increasing value of this buffer solved the issue.
SOAP_TMPLEN