Is there any way to set programmatically the timeout of Spring's WebServiceTemplate? I've seen old articles about setting it via Message Senders in Application Context config file. But in our project, these objects have been created by code, not by injection.
I need to lower the default timeout as sometimes the customer's endpoint takes too long, and queues up other requests, so I need to force it to fail faster.
PS: Using spring-ws-core-2.2.2.RELEASE.jar