Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 3:41
protectorHeath Stewart15-Apr-04 3:41 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:05
bouli15-Apr-04 4:05 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 4:11
protectorHeath Stewart15-Apr-04 4:11 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:20
bouli15-Apr-04 4:20 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 5:00
protectorHeath Stewart15-Apr-04 5:00 
GeneralStrongly typed DataSet from a web service Pin
bjoernen15-Apr-04 2:49
bjoernen15-Apr-04 2:49 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 3:58
protectorHeath Stewart15-Apr-04 3:58 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 4:47
bjoernen15-Apr-04 4:47 
Thanks for the reply Heath.

If the web service returns typed DataSets, then the proxy will return untyped (regular) DataSets, but the content can easily be moved to a typed DataSet by use of the DataSet.Merge method. But my problem is that the web service does not return a DataSet, even though the actual xml structure is very similar. I'm curious why I havn't found anything fruitful Googling around for this. What would be a really good setting for the proxy generation would be a checkbox: "return as [] DataSet or [] object hierarchy classes".

I have some ideas I will try shortly:

- Getting hold of the web service reply in original xml format, and deserializing it into the typed DataSet. Weakness: Probably requires some tweaking of the xml.

- Manipulating the wsdl so that VS thinks that DataSets are returned, and creates the proxy to return DataSets. I have my doubts that this will work automatically.

- Writing a generic method that by use of reflection can move an object hierarchy into a typed DataSet. Ugly.

Writing my own proxy might be a good alternative, thanks for the tip. It probably can be very generic too (or based on a very generic base class), so it can be used for all "web service reply -> typed DataSet" scenarios.


GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 5:03
protectorHeath Stewart15-Apr-04 5:03 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 21:06
bjoernen15-Apr-04 21:06 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart16-Apr-04 3:55
protectorHeath Stewart16-Apr-04 3:55 
Generalall client machine in local network Pin
Anonymous15-Apr-04 2:14
Anonymous15-Apr-04 2:14 
GeneralRe: all client machine in local network Pin
Stefan Troschuetz15-Apr-04 5:21
Stefan Troschuetz15-Apr-04 5:21 
QuestionHow can i draw many small bitmap into a large one ? Pin
fu015-Apr-04 2:12
fu015-Apr-04 2:12 
AnswerRe: How can i draw many small bitmap into a large one ? Pin
Colin Angus Mackay15-Apr-04 3:13
Colin Angus Mackay15-Apr-04 3:13 
GeneralSerialization Pin
Large Data File14-Apr-04 23:46
Large Data File14-Apr-04 23:46 
GeneralRe: Serialization Pin
Heath Stewart15-Apr-04 5:11
protectorHeath Stewart15-Apr-04 5:11 
GeneralRe: Serialization Pin
Large Data File15-Apr-04 5:47
Large Data File15-Apr-04 5:47 
GeneralRe: Serialization Pin
Heath Stewart15-Apr-04 5:50
protectorHeath Stewart15-Apr-04 5:50 
GeneralRe: Serialization Pin
Large Data File15-Apr-04 6:20
Large Data File15-Apr-04 6:20 
GeneralRe: Serialization Pin
Heath Stewart15-Apr-04 6:28
protectorHeath Stewart15-Apr-04 6:28 
GeneralAbout ShutDown in XP Pin
lajiyo14-Apr-04 23:02
lajiyo14-Apr-04 23:02 
GeneralRe: About ShutDown in XP Pin
Heath Stewart15-Apr-04 4:59
protectorHeath Stewart15-Apr-04 4:59 
GeneralRe: About ShutDown in XP Pin
lajiyo18-Apr-04 15:19
lajiyo18-Apr-04 15:19 
GeneralRe: About ShutDown in XP Pin
Heath Stewart19-Apr-04 2:17
protectorHeath Stewart19-Apr-04 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.