Document posting to Oracle Gateway

hi,
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: java.net.SocketTimeoutException: Read timed out and Error Type: com.wm.app.b2b.server.ServiceException.

Thanks in advance.

Motati