Hi,
I have a small web service written in PHP with NuSOAP which describes a
type "Categorie" and a function "GetCategories()".
I'm trying to access it with a C# application.
Here is the generated code where the error occurs:
-------------------------------------------------------------------
public Categorie[] GetCategories() {
object[] results = this.Invoke("GetCategories", new object[0]); //OK
return ((Categorie[])(results[0])); //ERR
}
-------------------------------------------------------------------
I get an error at runtime:
"System.InvalidCastException", can't cast an object of type "Categorie"
to an object of type "Categorie" !!
The invoke method works fine, all the data is in the results array.
Thanks for your help.