none
Convert Webservice DataSet RRS feed

  • Question

  • I created a dll that contain a xsd file, which is a strongly data type with 5 tables in it. I create a web method in my webservice that will populate the 5 tables, and return the dataset from the dll used in the webservice project. On my client side I call that web method. The problem is it is returning webservice's xsd dataset, not the dll dataset. The reason I want to use the dll dataset is that I have another project that use the dataset too, but I don't want to add the web service reference in that project. So I want to keep all projects to use the dll dataset, but in the reference.cs class generate by web reference, I notice they create their own dataset that is same as the dll dataset, but I can't convert the dataset to the dll dataset. Does any one know a way to convert the dataset? I could change the reference.cs to force it to pass back the dll dataset, but the code will gone after I did a web reference update.


    Thanks
    Monday, August 20, 2007 6:53 PM