You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "winston chen (Jira)" <ji...@apache.org> on 2021/12/15 05:19:00 UTC

[jira] [Updated] (CXF-8628) Unable to set the timeout for JaxWsDynamicClientFactory download WSDL document

     [ https://issues.apache.org/jira/browse/CXF-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

winston chen updated CXF-8628:
------------------------------
    Issue Type: Bug  (was: Improvement)

> 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)