XML data to SQLServer

I’m trying to pass an xml document to a stored procedure in SQLServer (using pub.db:call).
This goes well as longh as the xml is not too big. When the execution of the stored procedure takes to long, it just stops (without any error message). When I execute the stored procedure from the Query Analyzer everything works fine.
Any idea what might be the problem here??

I don’t know how long your timeout is set for.