8.5 AXLAPIService.cs Exception

Version 1
    This document was generated from CDN thread

    Created by: Julien ESPIE on 07-07-2011 06:48:58 AM
    Hello,
     
    I have an issue with the AXLAPIService.cs generated from 8.5 version of AXLAPI.wsdl
     
    L'exception System.InvalidOperationException n'a pas été gérée
      Message="Impossible de générer une classe temporaire (result=1).
    error CS0030: Impossible de convertir le type 'UpdateSoftKeySetReqAddCallStates' en 'UpdateSoftKeySetReqRemoveCallStates'
    error CS0030: Impossible de convertir le type 'UpdateSoftKeySetReqAddCallStates' en 'UpdateSoftKeySetReqCallStates'
    error CS0029: Impossible de convertir implicitement le type 'UpdateSoftKeySetReqCallStates' en 'UpdateSoftKeySetReqAddCallStates'
    error CS0029: Impossible de convertir implicitement le type 'UpdateSoftKeySetReqRemoveCallStates' en 'UpdateSoftKeySetReqAddCallStates'
     
    These errors look like these one in this thread: 8.0 WSDL.exe error
     
    There is a customer.zip, including revised wsdl, provided in the thread above, which is compiling and working. But this is an 8.0 version (not 8.5).
     
    Do you have a correct version of 8.5 WSDL to release or is it ok to use the 8.0 version with a 8.5 CUCM ?
     
    Thanks by advance,
    Julien

    Subject: RE: 8.5 AXLAPIService.cs Exception
    Replied by: rachael bentley on 17-08-2011 11:17:27 PM
    I'm having the same issue. would love to know why this is happening.

    Subject: RE: 8.5 AXLAPIService.cs Exception
    Replied by: Julien ESPIE on 13-09-2011 09:15:37 AM
    Hello,

    Any news about this issue ?

    Thx by advance !
    Julien

    Subject: RE: 8.5 AXLAPIService.cs Exception
    Replied by: Michael Dunsdon on 10-11-2011 09:15:48 AM
    Hi

    I'm using the 8.0 code from the 8.0 WSDL.exe error thread you mention and it seem to mostly work.
    Having a working 8.5/8.6 WSDL would be great though.

    Subject: RE: 8.5 AXLAPIService.cs Exception
    Replied by: Xinxin He on 15-12-2011 01:19:51 AM
    I have this issue  too from 8.5 version

    Subject: RE: 8.5 AXLAPIService.cs Exception
    Replied by: Xinxin He on 16-12-2011 02:38:27 AM
    I find this issue and Modify code like this,then having a working

    I do not know no other errors will be


    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.1432")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.cisco.com/AXL/API/8.5")]
    public partial class UpdateSoftKeySetReq : NameAndGUIDRequest {
       
        private UpdateSoftKeySetReqAddCallStates[] itemsField;
       
        private ItemsChoiceType24[] itemsElementNameField;
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("addCallStates", typeof(UpdateSoftKeySetReqAddCallStates), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        //[System.Xml.Serialization.XmlElementAttribute("callStates", typeof(UpdateSoftKeySetReqCallStates), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        //[System.Xml.Serialization.XmlElementAttribute("removeCallStates", typeof(UpdateSoftKeySetReqRemoveCallStates), Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
        [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
        public UpdateSoftKeySetReqAddCallStates[] Items {
            get {
                return this.itemsField;
            }
            set {
                this.itemsField = value;
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public ItemsChoiceType24[] ItemsElementName {
            get {
                return this.itemsElementNameField;
            }
            set {
                this.itemsElementNameField = value;
            }
        }
    }