Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Shirak Avakian / Shirak Avakian ()
Created: 01/29/2018
Components: Web Services
Versions: 2016,11.0,2018
Failure Type: Non Functioning
Found In Build/Fixed In Build: 2016.0.05.303689 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 8.1/64bit
Vote Count: 0
Problem Description:
ColdFusion is taking forever to create objects for netSuite WSDL "https://webservices.netsuite.com/wsdl/v2017_2_0/netsuite.wsdl". Eventually will throw and error. I was able to create stub data using another language like dotNet with no issue.
Steps to Reproduce:
copy and paste this code to any cfm file and run it
ws = createobject('webservice','https://webservices.netsuite.com/wsdl/v2017_2_0/netsuite.wsdl');
writeDump(ws);abort;
Actual Result:
coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: C:/ColdFusion2016/cfusion/stubs/WS_-1511814863_2/src/com/netsuite/webservices/platform/common_2017_2/TransactionSearchRowBasic.java:58213: error: code too large for try statement
} catch (javax.xml.stream.XMLStreamException e) {
^
C:/ColdFusion2016/cfusion/stubs/WS_-1511814863_2/src/com/netsuite/webservices/platform/common_2017_2/TransactionSearchRowBasic.java:41526: error: code too large
public static TransactionSearchRowBasic parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
^
Note: C:/ColdFusion2016/cfusion/stubs/WS_-1511814863_2/src/com/netsuite/webservices/platform_2017_2/NetSuiteServiceStub.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
.
Expected Result:
Return the wsdl object
Any Workarounds:
no
Attachments:
Comments: