Web Services uses SOAP call which, depending on the amount of data, sometimes time out.
How to increase the timeout of the SOAP calls of Web Services ?
Identity Manager 14.x
Open management console,
Click on environments and the environment in question.
Click advanced settings.
Add a new property with the name of 'PxSOAPReadTimeOut' and the value you require.
Restart the environment.