Title:
InDesign Web Service Stub creation fails with variable sessionID is already defined in method error
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Mike Collins / Mike Collins (Mike Collins)
Created: 05/31/2016
Components: Web Services
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Win 2012 Server x64
Vote Count: 0
Problem Description:
In CFAdmin when you define a web service to a running InDesign server you will receive this error stating that the stubs could not be created due to duplicate variable names.
Steps to Reproduce:
Install InDesign Server - you can download trial from Adobe.
Start InDesign server with -port option to support the Soap interface
Define a web service in CF using http://localhost:18600/service?wsdl
Change the port to what you used when you started IDS.
Check the error log
Same result for Axis 1 and Axis 2.
Actual Result:
You get this in the error log.
coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: /Applications/ColdFusion11/cfusion/stubs/aaa_2/src/localhost/service_wsdl/Service.java:31 : error: variable sessionID is already defined in method endSession com.adobe.ns.indesign.soap.SessionID sessionID,com.adobe.ns.indesign.soap.SessionIDE sessionID) ^ /Applications/ColdFusion11/cfusion/stubs/aaa_2/src/localhost/service_wsdl/Service.java:46 : error: variable sessionID is already defined in method startendSession com.adobe.ns.indesign.soap.SessionID sessionID,com.adobe.ns.indesign.soap.SessionIDE sessionID, ^ /Applications/ColdFusion11/cfusion/stubs/aaa_2/src/localhost/service_wsdl/ServiceStub.jav a:167: error: variable sessionID is already defined in method endSession com.adobe.ns.indesign.soap.SessionID sessionID,com.adobe.ns.indesign.soap.Ses....
Expected Result:
Any Workarounds:
Same InDesign Server and port works with .Net
CF8 did not have this issue.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4159711
External Customer Info:
External Company:
External Customer Name: Mike Collins
External Customer Email:
External Test Config: We have replicated the issue on Windows and MAC.
This issue did not occur in CF8.
Attachments:
Comments: