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 04:33:00 UTC

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

winston chen created CXF-8628:
---------------------------------

             Summary: 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: Improvement
         Environment: cxf-rt-frontend-simple-3.3.0.jar
            Reporter: winston chen


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