Re: returning strongly typed dataset from web service
- From: "John Saunders" <john.saunders at trizetto.com>
- Date: Tue, 6 Mar 2007 13:27:48 -0500
"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
.
- References:
- Re: returning strongly typed dataset from web service
- From: John Saunders
- Re: returning strongly typed dataset from web service
- From: John Saunders
- Re: returning strongly typed dataset from web service
- From: John Saunders
- Re: returning strongly typed dataset from web service
- Prev by Date: Re: returning strongly typed dataset from web service
- Next by Date: Re: How do I get session state
- Previous by thread: Re: returning strongly typed dataset from web service
- Next by thread: Re: returning strongly typed dataset from web service
- Index(es):
Relevant Pages
|
Loading