Is it possible to set a webservice connection timeout on Service.create method?
Issue
- When executing client code to access a web service, is it possible to control the connection timeout for the follwing code:
final Service service = Service.create(wsdlURL, serviceName);
return service.getPort(SendAlertFromATM.class);
- Is it possible to configure a timeout for this line:
final Service service = Service.create(wsdlURL, serviceName);
- Is it possible to configure timeout for this line:
return service.getPort(SendAlertFromATM.class);
Environment
- Red Hat JBoss Enterprise Application platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.