logo       

RE: Web Services question/debate: msg#00043

Subject: RE: Web Services question/debate
What a set up! Thanks, Justin!

It sounds like you and your boss should join me for a little talk about
services and service-oriented architecture tomorrow night at PADNUG [1]. See
you there.

Justin wrote:
>My boss at the new job was complaining about a third party web service the
other day. Something about how it requires an object. I asked him if the
service required a serialized version of an object and he said something
like that.

As you've phrased it, your boss may be under a very common misunderstanding.
Services are all about messages, and Web services are about SOAP messages
with are XML. No objects, no classes. I have a demonstration to illustrate
just this point.

The misunderstanding often arises because the *tools* we use to create or
interact with services present these messages in terms of classes. But that
is just a façade layer on top of the services themselves. Services are not
distributed components.


>The code is creating a new object of a type that is part of the web
service. Call it Order. Then it's populating the props of the new object,
order (OrderID etc). Then it's calling something like OrderUpdate and
passing the order object to the OrderUpdate method. 

I'm not following you completely. But at a fundamental level, services share
message, contract and schema. But they don't share type, at least not in the
object-oriented notion of type. So I think the code you are talking about
may be the proxy class generated when you did an Add Web Reference in your
project and pointed it at the service's description (WSDL). Then I'm not
clear what your statement is, and what the question is. Is this problem your
boss outlined a problem with all Web services or just this one? Please
explain a bit more.

>Maybe the boss didn't tell me all of the story.

They never do: that would be cheating : )

Cheers,
Stuart Celarier, Fern Creek

[1] http://www.padnug.org/padnug/meetings.aspx





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>