"Unused" dataset shipped in WSDL ?

S

Steve B.

Hello

I'm building a Web service that have some methods.

I've also two datasets class : DataSet1 and DataSet2.

If I add a method in my WS that waits for or return either DataSet1 and
DataSet2, the DataSet is embedded in the WSDL so the client application can
use them as typed DataSet, which is working well with VS.

The problem is that my "real" web service won't wait for neither DS1 nor
DS2, but will wait for a simple System.Data.DataSet class. The WS will then
analyse the ds content to redirect the ds to the right business object.
Since DS1 and DS2 are not in any WebMethod signature, they won't be shipped
with the WSDL.

Is there any way to force the WSDL to include DS1 and DS2 definition ?

I don't want to manually duplicate xsd files into several clients apps since
DS1 and DS2 can contains some TableAdapters. Moreover, if DS1 and DS2 are
updated, I want to client app to update its web reference easily.

Thanks for any help.
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top