S
Simon Storr
I have two webservices, for arguments sake FredWS and JimWS. They both
contain webmethods which have a typed dataset JoeDataset as a parameter. If
I add a web reference to FredWS (called FredWSProxy) then a class named
FredWSProxy.JoeDataset will be created mapping to JoeDataset (similarly
JimWSProxy.JoeDataset for a web reference to JimWS).
Now in my web app I have a function which calls FredWS returning a
FredWSProxy.JoeDataset. The problem arises when I want to pass this dataset
to JimWSProxy - I can't due to an invalid typecast! Is there a way around
this or do I really have to move all my code into one big webservice?
Also the code generated by the typed dataset xsd generator is huge - is
there any way to 'turn off' sections of code that we don't use from being
generated (all the async stuff for instance?)
Thanks in advance,
Simon
contain webmethods which have a typed dataset JoeDataset as a parameter. If
I add a web reference to FredWS (called FredWSProxy) then a class named
FredWSProxy.JoeDataset will be created mapping to JoeDataset (similarly
JimWSProxy.JoeDataset for a web reference to JimWS).
Now in my web app I have a function which calls FredWS returning a
FredWSProxy.JoeDataset. The problem arises when I want to pass this dataset
to JimWSProxy - I can't due to an invalid typecast! Is there a way around
this or do I really have to move all my code into one big webservice?
Also the code generated by the typed dataset xsd generator is huge - is
there any way to 'turn off' sections of code that we don't use from being
generated (all the async stuff for instance?)
Thanks in advance,
Simon