Groups | Blog | Home
all groups > dotnet web services > september 2007 >

dotnet web services : Generate Typed DataSets from WSDL



newtonwong NO[at]SPAM gmail.com
9/17/2007 11:53:02 PM
I have a web reference WSDL, but it doesn't really create an XSD. I'm
trying to generate datasets from the WSDL file but not sure how to do
so.

I successfully created the proxy class, but the WebServices all return/
send domain typed data, so I am seeing if I can turn these "classes"/
WSDL into Typed DataSets.

Anyone have ideas on where to start?
Andrew Brook
9/18/2007 11:59:21 AM
Hi,

Is there a particular reason why you want to convert the objects defined in
the WSDL into a Typed Dataset?

Andrew

[quoted text, click to view]

newtonwong NO[at]SPAM gmail.com
9/18/2007 3:12:00 PM
The only reason would be that I can easily manipulate the data in my
business object layer and also have a way to programatically go
through the dataset returned. This way I can eliminate any runtime
errors.

Also, since the webservice is being called in my data access layer (i
have 3 sources, 2 webservices and 1 database) i figure this is the
easiest way to merge datasets.



[quoted text, click to view]

newtonwong NO[at]SPAM gmail.com
9/18/2007 3:57:23 PM
I consumed the WS from an AXIS server (AXIS servers I think have
WSDD). I successfully added the web reference.
Now I am trying to see how I can convert the generated WSDL to a Typed
DataSet.


[quoted text, click to view]

Andrew Brook
9/18/2007 4:27:03 PM
Still not sure I understand the problem - Have you been given the WSDL for a
webservice, or did you create the webservice in question yourself?

Andrew

[quoted text, click to view]

AddThis Social Bookmark Button