My client is using proxy created from WSDL… Is it possible to setup the service to send List instead of MyCustomObject[]?
I am using
svcutil /t:metadata /ct:System.Collections.Generic.List`1 localhost:8080/managedApp
but does not work…
My client are in Visual C++
IDE is Visual Studio 2012 –> cannot add service reference
Ok… at the end I gave up, I just sent the data as array instead of std:list…
this is how I did it:
1.- get the metadata from the service using svcutil /t:metadata (NOTE: service has to be running).
2.- create the proxy wsutil *.wsdl *.xsd
3.- add proxy files (.h and .c) to my client and use the proxy functions to the service.
Array are a little bit tricky if you are not familiar with c programming though…
DataContract:
and my client side for the calls to array:
Hope this helps…