I'd agree with Stuart. The service doesn't take an object in the
distributed computing sense. It takes a "document". The proxy
generator in .NET represents that document as a class rather than a
raw XML document.
Patrick
On Wed, 8 Dec 2004 11:52:00 -0800, Stuart Celarier <stuart@xxxxxxxxxxx> wrote:
>
> 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 Links
>
>
>
>
>
--
Patrick Cauldwell, KE7BJG
patrick@xxxxxxxxxxxxx
http://www.cauldwell.net/patrick/blog
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~->
|