Java Webservice with Read Timeout

I’ve created a Java Webservice (JavaAgent) based on a by Stubby generated WSDL definition.

All is working fine but sometimes I got a “Read Timeout” because the outher side has to perform a longer taken task. So the connection is properly made, bij teh webservic eis just waiting for an answer. How can I set a higher read timeout value??

I’ve tried already the next statements:

service.setProperty( “timeout”, new Integer(300) );

and

service.setProperty( “timeout”, “300” );

But both gives the same standard timeout after 60 seconds.

Who can help me??