using an object from a Web Service

Topics: CAB & Smart Client Software Factory
Jan 1, 2007 at 9:59 AM
I noticed that when i use an object returned from a web service, the object returnes with a type the WS proxy created when i defined the Web service in my project.
I can use the Entity Translator Service to translate between the "Service object" and the "Business object".
Is there an alternative?
Jan 2, 2007 at 12:31 AM
Not really an alternative that I know of. I mean, you have to translate it at some point unless you serialize your business entity directly (which you might be able to do with WCF but I haven't looked into it). You can always just build your own class with two static methods in it to do the translation if you want, but that's all the service translators do in a nutshell anyways.