CF2016: Intermittent error accessing webservices using cfinvoke wsversion="1"
Hello Team,
We are facing an intermittent issue while accessing a web service from ColdFusion using cfinvoke.
Error 1:
Cannot generate stub objects for web service invocation. Name: https://*****/WebService.asmx?wsdl. WSDL: https://****/WebService.asmx?wsdl. java.io.FileNotFoundException: K:\***\stubs\WS_-1969018290_1\localhost\WebService.java (Access is denied) It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors. <br>The error occurred on line 287. |
Error 2:
Unable to load bytecode for class "localhost.ReportsServiceSoapStub" |
|
Code:
<cfinvoke webservice="#WEB_SERVICE#" method="Render" argumentcollection="#vars#" refreshwsdl="true" wsversion="1">
</cfinvoke>
Server:
ColdFusion 2016 running on Windows server 2012 R2
