WSDL définissant une méthode avec un type de retour string[][]
Bonjour,
Mon projet actuel est en silverlight 2 et j'appel des webservices qui sont déclaré dans ma partie asp.net.
Le WSDL (produit par AXIS2) contient des web méthodes qui me retourne un type string[][].
Voici le message d'erreur quand je tests directement mon asmx:
Citation:
System.InvalidOperationException: Impossible de générer une classe temporaire (result=1).
error CS0029: Impossible de convertir implicitement le type 'string' en 'string[]'
à System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
à System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
à System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
à System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type)
à System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
à System.Web.Services.Protocols.SoapClientType..ctor(Type type)
à System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
à IDAWS.DataServer_FTDocumentaryDataService.FTDocumentaryDataService..ctor() dans D:\PROJET OVER\PROJET IDA\IDA\TRUNK\CODE\IDA v0.1\IDAWS\Web References\DataServer_FTDocumentaryDataService\Reference.cs:ligne 61
à IDAWS.DAO.Static_Section_WS.GetFlightTests(String meanType, String meanNumber, String testType, String testNumber, String testStartDate, String testEndDate, String count, String page) dans D:\PROJET OVER\PROJET IDA\IDA\TRUNK\CODE\IDA v0.1\IDAWS\DAO\Static_Section_WS.asmx.cs:ligne 56