I have two webservices developed in Protheus (TOTVS) that will be consumed in my C # application in VS2013 (Windows form).
The first one always returns a string and is working fine, the second one returns an array and that I can not consume at all.
I have two webservices developed in Protheus (TOTVS) that will be consumed in my C # application in VS2013 (Windows form).
The first one always returns a string and is working fine, the second one returns an array and that I can not consume at all.
It's a simple cast problem. Switch to the following:
WS_FUNCSPONTO.TESTEARRAY[] qwert = new WS_FUNCSPONTO.TESTEARRAY[50];