G
Gustaf
I found what appears to be the solution to my problem in this old thread:
http://groups.google.se/group/micro...ervices/browse_thread/thread/147cb18619cc937/
Dan Rogers of Microsoft writes:
[...] share the assembly that you use on the client and on
the server, and change the generated proxy method to return a UserList
class. If you're starting with the generated proxy code, you'll have to
comment out the generated type information, and then add an imports or
using statement, as well as an assembly reference to your project. This
allows the proxy to see the types defined in your assembly, and then
serialize properly to the more advanced userlist type.
I got a number of questions here, but let's start with these two:
1. Shall the service assembly be added to the client assembly, or vice versa, or both?
2. If the service assembly shall be added to the client assembly, exactly what shall be added? There's no DLL in the web service project folders to add. Is it possible to generate one?
Gustaf
http://groups.google.se/group/micro...ervices/browse_thread/thread/147cb18619cc937/
Dan Rogers of Microsoft writes:
[...] share the assembly that you use on the client and on
the server, and change the generated proxy method to return a UserList
class. If you're starting with the generated proxy code, you'll have to
comment out the generated type information, and then add an imports or
using statement, as well as an assembly reference to your project. This
allows the proxy to see the types defined in your assembly, and then
serialize properly to the more advanced userlist type.
I got a number of questions here, but let's start with these two:
1. Shall the service assembly be added to the client assembly, or vice versa, or both?
2. If the service assembly shall be added to the client assembly, exactly what shall be added? There's no DLL in the web service project folders to add. Is it possible to generate one?
Gustaf