Skip to main content
Hi,

 

I am trying to move my code to support TLS 1.1, currently it only supports TSL 1.0

 

I am trying to do this by updating my web service reference using the latest partner.wsdl file I downloaded from Salesforce.

 

The login partially succeeds and thn throws an exception as below:

 

All I have done is update the reference from the wsdl file using Visual Studio. No other code changes have been made.

 

Would anyone have an idea of what I have done wrong please?

 

Thanks

 

System.InvalidOperationException: Unable to generate a temporary class (result=1).

 

error CS0029: Cannot implicitly convert type 'Kelmar.ScreenPop.sforce.ListViewRecordColumn' to 'Kelmar.ScreenPop.sforce.ListViewRecordColumn[]'

 

error CS0029: Cannot implicitly convert type 'Kelmar.ScreenPop.sforce.ListViewRecordColumn' to 'Kelmar.ScreenPop.sforce.ListViewRecordColumn[]'

 

   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

 

   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)

 

   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)

 

   at System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type)

 

   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)

 

   at System.Web.Services.Protocols.SoapClientType..ctor(Type type)

 

   at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()

 

   at Kelmar.ScreenPop.sforce.SforceService..ctor()

 

 
1 respuesta
  1. 5 dic 2016, 17:38
    Hello Andrew,

     

    I will suggest you to post this question to developer board for the quick response. This community is focused on configuration and design questions. Programming questions are best to post in one of the developer forums for a quick response here 

     

    https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS

     

    http://salesforce.stackexchange.com/

     

    Thanks,

     

    Pritam Shekhawat
0/9000