Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default timeout for webservice soap requests?

Could someone tell me what the default timeout for soap webservice calls is?

  ((BindingProvider) Port).getRequestContext().put(
            BindingProviderProperties.CONNECT_TIMEOUT,
            30);
    ((BindingProvider) Port).getRequestContext().put(
            BindingProviderProperties.REQUEST_TIMEOUT,
            30);

I can set this manually of course, but what is default if I omit this?

like image 271
membersound Avatar asked Mar 10 '26 19:03

membersound


1 Answers

Why not just print out the value of this using the CONNECT_TIMEOUT property?

System.getProperty(BindingProviderProperties.CONNECT_TIMEOUT)

like image 119
Yair Zaslavsky Avatar answered Mar 12 '26 07:03

Yair Zaslavsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!