Reading web services
-
I was reading Chris Maunder's articles on web services [Read the C# one first and then the MC++ one]. Seems as if web services are pretty straight stuff. But now that we have these services, how do we read them? All this while the screen saver competition was on and I never thought of how the .NET guys are doing it. Mike used MS XML I know. But I forgot about asking what the .NET fellers used. You guys parsed all that XML?? Or was there some kinda XML-to-Object converter available??? Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
I was reading Chris Maunder's articles on web services [Read the C# one first and then the MC++ one]. Seems as if web services are pretty straight stuff. But now that we have these services, how do we read them? All this while the screen saver competition was on and I never thought of how the .NET guys are doing it. Mike used MS XML I know. But I forgot about asking what the .NET fellers used. You guys parsed all that XML?? Or was there some kinda XML-to-Object converter available??? Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
.NET managed that for us :) XML is just encapsulating the data, the Web Service stuff inside .NET parses the data then returns the proper types back to us. If you look at our source tree, the file
/Web References/codeProject/Reference.cs
shows you the code the was generated to consume the web service. [Edit: DOH! Didn't see that this was in the MC++ forum; I'll leave the post here though because it might help someone :)] James Simplicity Rules! -
.NET managed that for us :) XML is just encapsulating the data, the Web Service stuff inside .NET parses the data then returns the proper types back to us. If you look at our source tree, the file
/Web References/codeProject/Reference.cs
shows you the code the was generated to consume the web service. [Edit: DOH! Didn't see that this was in the MC++ forum; I'll leave the post here though because it might help someone :)] James Simplicity Rules!James T. Johnson wrote: If you look at our source tree, the file /Web References/codeProject/Reference.cs shows you the code the was generated to consume the web service. Oh! Okay! James T. Johnson wrote: [Edit: DOH! Didn't see that this was in the MC++ forum; I'll leave the post here though because it might help someone ] The same classes are used right? Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
James T. Johnson wrote: If you look at our source tree, the file /Web References/codeProject/Reference.cs shows you the code the was generated to consume the web service. Oh! Okay! James T. Johnson wrote: [Edit: DOH! Didn't see that this was in the MC++ forum; I'll leave the post here though because it might help someone ] The same classes are used right? Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
Nish - Native CPian wrote: The same classes are used right? Yep, should be. The SoapClientWebProtocol yadda yadda yadda does all the dirty work. James Simplicity Rules!
-
Nish - Native CPian wrote: The same classes are used right? Yep, should be. The SoapClientWebProtocol yadda yadda yadda does all the dirty work. James Simplicity Rules!
James T. Johnson wrote: The SoapClientWebProtocol yadda yadda yadda does all the dirty work Really complicated bit of code. Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.