8.0 WSDL.EXE Error

Version 1
    This document was generated from CDN thread

    Created by: Chris Bertrand on 09-06-2010 08:50:53 AM
    Hi Guys,
     
    Just getting an error when trying to run the wsdl.exe with the two files from 8.0. Error is below. Any ideas??
     
    Error: Unable to import binding 'AXLAPIBinding' from namespace 'http://www.cisco.com/AXLAPIService/'.
      - Unable to import operation 'addTimeSchedule'.
      - These members may not be derived.
     
    Chris

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Chris Bertrand on 10-06-2010 12:34:34 PM
    So.....
     
    Any ideas??? All the previous versions have specific folders for .NET and AXIS however 8.0 doesn't. Am i suppose to wait for this? There doesn't seem to be a workaround for this... or at least i haven't found one yet.

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: David Staudt on 10-06-2010 04:31:29 PM
    The claim for 8.0 was that the wsdl would work unmodified for Axis and .NET, so separate versions should not be necessary.
     
    Which .NET wsdl compiler version are you using?  

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Sriram Pinnamaraju on 11-06-2010 09:23:55 AM
    Hi All,
     
    The WSDL that is been used in this case could  be having an issue here
    The only change to be done in this case is to replace all striing types    'parameters' in WSDL
    to 'axlParams'.
     
    Something like this
     
    <message name='addRoutePartitionIn'>

        <part name='parameters'
    element='xsd1:addRoutePartition'></part></message>

    <message name='addRoutePartitionOut'>

        <part name='parameters'
    element='xsd1:addRoutePartitionResponse'></part></message>
     
    To
     
    <message name='addRoutePartitionIn'>
        <part name='axlparams' element='xsd1:addRoutePartition'></part></message>
    <message name='addRoutePartitionOut'>
        <part name='axlparams' element='xsd1:addRoutePartitionResponse'></part></message>
     
    With the following change this should work fine.
     
    This is been implemented in 8.5 ,however looks like it has been missed out in 8.0.
    Will fix this ASAP.
     
     
    -Sriram
     

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Sriram Pinnamaraju on 11-06-2010 03:23:31 PM
    Hi Chris ,
     
    Looks like the version you have downloaded the Schema and WSDL doesn't have the fix we have put in
     
    As a work around  I am providing the schema and WSDL of 8_0  version which has the fix .
     
    Sorry for the inconvenience caused.
     

    -Sriram

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Chris Bertrand on 11-06-2010 11:27:49 AM
    Hi Sririam,
     
    Thanks for the info, i thought that might be the workaround but i didn't want to change 1440 instances without being sure.
     
    Got the Cs file created now... shame nearly all the fields have changed!
     
    Here we go again.

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Chris Bertrand on 11-06-2010 01:47:28 PM
    Ok... So it compiled. But now i can't get a connection established. I recieve the error:
     
    Unable to generate a temporary class (result=1).error CS0030: Cannot convert type 'UpdateCallerFilterListReqAddMembers' to 'UpdateCallerFilterListReqRemoveMembers'error CS0030: Cannot convert type 'UpdateCallerFilterListReqAddMembers' to 'UpdateCallerFilterLi.....
     
    All the way through
     
    A few places have mentioned this is an error to do with the WSDL and there are fixes where you remove the [][] to single [] in the WSDL itself. This can't be the case here tho as it does not contain any.
     
    Another place mentioned that When you publish a schema that contains nested nodes that have the maxOccurs attribute set to the "unbounded" value, the Wsdl.exe tool creates multidimensional arrays in the generated .cs file. The solution is to remove these multidimensional arrays.
     
    I would do this but i know that some of the types use multidimensional arrays so am unable to do a Text-Replace on them.
     
    This 8.5 that you mentioned? Is this going to be available to download shortly?
     

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Chris Bertrand on 14-06-2010 11:03:55 AM
    Hi Sriram,
     
    Thanks thats sorted it. I can now connect. You can issue this as resolved.
     

    Subject: RE: 8.0 WSDL.EXE Error
    Replied by: Sujeeth Kanuganti on 12-07-2010 10:59:40 PM
    Hey Sriram,
     
    This is a good troubleshooting, it solved my problem too..
     
    Nice work.
     
    Thanks
    Sujeeth