How to exclude a type definition from WSDL

Posted: 10-22-2003, 12:11 AM
Hi,

I have a web service which returns a strongly typed
dataset to its client. This typed dataset was defined in
a class library which was referenced by both the web
service and the client.

The problem I have now is: because the typed dataset was
in the web method's parameter list, its definition was
included in the WSDL and proxy class. Because the client
needs to have both the web reference and the reference to
the class library, the dataset definition in the proxy
class conflicts with its original version in the class
library.

My question is:

1. How to instruct the web service not to include the
definition of the typed dataset in its WSDL and proxy
class?

2. Is this approach (having both the web service and its
client referencing to the same class library) a correct
one? If not, what is the correct one?

3. Is it a good approach for a web service to return a
strongly typed dataset? I tried to let it only return a
untyped DataSet, but I didn't find a efficient way at the
client side to wrap the untyped dataset into a strongly
typed dataset. A copy is not efficient.

Thanks!

Frank
Reply With Quote

Responses to "How to exclude a type definition from WSDL"

 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to exclude classes? Dronius Macromedia Flex General Discussion 0 04-21-2005 03:48 PM
Flex 1.5 exclude compiler? enjoy life Macromedia Flex General Discussion 1 03-28-2005 03:39 PM
Exclude text from search tda2 Macromedia ColdFusion 0 02-16-2005 08:18 PM
Relation between XmlNode and WSDL minoccurs or type Patrick ASP.NET Web Services 0 10-15-2003 12:26 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP.NET Web Services 0 08-13-2003 06:38 AM