tracker issue : CF-4159711

select a category, or use search below
(searches all categories and all time range)

InDesign Web Service Stub creation fails with variable sessionID is already defined in method error

| View in Tracker

Status/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/ : 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/ : 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.



The service works fine with Axis 1. For using Axis 1, you can set "wsversion" property. <cfset ws = CreateObject("webservice", "http://localhost:18600/service?wsdl", {refreshwsdl="true", wsversion="1"})> <cfdump var="#ws#">
Comment by Paul N.
2564 | June 06, 2016 06:20:32 AM GMT
Hi Mike, As Paul has mentioned below, please try with specifying "wsversion" for Axis 1 and let us know. Thanks, Akhila.
Comment by Akhila K.
2565 | June 16, 2016 07:57:48 AM GMT
Hi Mike, Any Update on the solution provided by Akhila here? Thanks
Comment by Poonam J.
2566 | July 19, 2016 03:29:11 AM GMT
No updates from customer. Closing this Track.
Comment by Poonam J.
2567 | July 20, 2016 10:34:59 PM GMT