0 Replies Latest reply on May 31, 2016 5:54 AM by mcollins323

    SOAP API - variable sessionID is already defined in method error

    mcollins323 Level 1

      Has anyone ever seen this error when using the SOAP API?  This error is thrown when I simply register the wsdl in the ColdFusion 11 administrator.  It seems like the wsdl is breaking the stub creation process due to having a few elements named SessionID.

       

      The same calls worked in CF8 although I am thinking might be due to using 1.8 JVM more then CF version.  I have tried using Axis 1 and 2 from inside the cfadmin and that did not make any difference.

       

      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....