Document posting to Oracle Gateway

I am posting XML documents to Oracle Gateway thru pub.client:http service, but i do see some of the records got rejected by Gateway when we post large document(~1000 lines). I couldn’t able to figure out why it is rejecting.

Can anybody give your valuable suggession ? what can prevent this error .
I also request you, can you tel me various ways to post xml docs to Oracle Gateway.

Error message what I am getting is : Error: Read timed out and Error Type:

Thanks in advance.