[ 
https://issues.apache.org/jira/browse/CXF-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462409#comment-17462409
 ] 

winston chen commented on CXF-8628:
-----------------------------------

Thanks [~reta] 

They are the same problem. But can we only set it globally with JVM parameters? 
Do you plan to provide an interface to set timeout times for CXF in future 
releases?

> Unable to set the timeout for JaxWsDynamicClientFactory download WSDL document
> ------------------------------------------------------------------------------
>
>                 Key: CXF-8628
>                 URL: https://issues.apache.org/jira/browse/CXF-8628
>             Project: CXF
>          Issue Type: Bug
>         Environment: cxf-rt-frontend-simple-3.3.0.jar
>            Reporter: winston chen
>            Priority: Major
>
> {code:java}
> JaxWsDynamicClientFactory jaxWsDynamicClientFactory = 
> JaxWsDynamicClientFactory.newInstance();
> Client client = jaxWsDynamicClientFactory.createClient(url);
> {code}
>  
> When CXF creates clients through urls, there is no interface that allows us 
> to set a timeout for downloading WSDL. If the WSDL file download is not 
> completed for a long time, the current thread will always be running. It may 
> cause the system to become unusable.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to