how to post xml document to Oracle Gateway

Hi,
We are posting xml documents to Oracle Gateway using pub.client.http, but we are seeing issues when we post large documents.