Hello,
I'm webreferecing some webservice.
I have one WebMethod returning "List<SomeClass>"
I don't want "SomeClass" to be proxy generated on client side But i want
to use the same "SomeClass" that i have on server side.
I have seen one day an attribute to put on the WebMethod to specify the return
type.
I can't remember which one.
Maybe it was dream.
I don't want to modify generated proxy to change references.
(Should never be modified by humans)
Any ideas?
Vincent.
PS : Sorry for crossposting
vincent - 13 Apr 2006 18:51 GMT
Ok it was a dream...
I've found two ways.
one dirty :
delete generated class from proxy and reference the "real" ones. (and lost
all when regenerate proxy)
one clean playing with a SchemaImporterExtension to change code generation.
infortunatly i don't know how to use a SchemaImporterExtension in a class
project...
anyone?
Thanks me, myself and I ;)
> Hello,
>
[quoted text clipped - 15 lines]
> Vincent.
> PS : Sorry for crossposting