Apologies . As you said, soap server did not hang, it took some time to return to the calling program . I found it having retested again.
The actual issue is when the file size become larger only , this issue arises. When the file size is small in the range of 6 kb or so, there is no issue .
FYI: The soap client and server are both perl.