[DUG] Web Services
Jeremy Coulter
vss at vss.co.nz
Sun May 28 11:11:19 NZST 2006
Yeah I think I answered my own question actually.
I have found a solution that wrks for us now, but was TRYING to find an
excuse to use .NET for a project...oh well.
Jeremy
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of kurt
Sent: 26 May 2006 22:39
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Web Services
Jeremy Coulter wrote:
> It wont be so much the existing functions that will change, its more
> that there will be new ones added.
> My question is, if/when a new function is added, how does the calling
> exe know that its ok to call it? From what I have seen, when you add a
> reference to a webservice, it creates a new PAS file that has all the
> functions etc in it, and therefor this is compiled into the exe, so if
> I add new functions one would assume that a new calling exe needs to
> be updated....which is what I want to avoid.
Yup : well this is how its usually done in Java, dotNet & co.
Which strikes me (also) as defeating the point. There are others on the list
with better knowledge of dynamically dll's / bpl's than I, but thats the
approach I'd want to start with.
My own preference is to dodge the compile and write the thing yourself.
Its pretty straightforward to get a decent chunk out of the way using
MSXML: build up a string, send it, parse response.
You can run into tricky things, but it guarantees you can
- talk to every service
- add, remove, change services without recompile
And depends how much trouble you want to go to - if you don't need a
full-blown generic system, you may be better off with re-compiling.
For me: web-services are like crack, I want to use them everywhere
(explicitly declared interfaces? Hell yes).
Cheers, Kurt.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006
More information about the Delphi
mailing list