Re: returning strongly typed dataset from web service



"N. Shehzad" <NShehzad@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ADAFE6A0-5FDE-4F8A-BCA2-5D4EE9343525@xxxxxxxxxxxxxxxx
John,

Thanks that worked. It seems you need to have the webmethod as strongly
typed dataset for all typed datasets in order for the proxy classes to be
created on the client side. I had only one return type method that's why
only
1 proxy class for the strongly typed dataset was being created.

Thanks for your help again!

Yes, I've found that, in general, only the classes which are referenced in
the web method signatures are generated as proxy classes on the client side.
That is, the classes need to be used for return values or as parameters.

One other thing I've noticed: if you have a method that takes a parameter of
type Base, then type Derived does not have a proxy class generated for it.
Only if Derived is explicitly used in a method signature is the proxy
generated for it.

John


.



Relevant Pages


Loading