[DUG] Web Services

Jeremy Coulter vss at vss.co.nz
Fri May 26 09:17:42 NZST 2006


 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.

Jeremy
 


-----Original Message-----
From: "Sean Cross - CRM" <sean.cross at crm.co.nz>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
Date: Fri, 26 May 2006 09:02:21 +1200
Subject: RE: [DUG] Web Services


The point of web services is that they are language and platform agonistic.  
Therefore you can call a d.n web service from D7 etc.  The restriction is 
that the web service must only require parameters and results that D7 can 
support.  it is possible to make a .net web service that only .net can call 
(thanks ms) but it is as easy to make one that anything can accept.  You 
might also want to look at using REST, 
http://blog.marcocantu.com/blog/soaprest.html.
 
I believe it is considered bad form to change the spec of existing functions 
much as it is in dlls.  You should version them instead.  Adding a new 
function won't affect existing apps though.
Regards

Sean
-----------------------------
Sean Cross
Systems Development

Catalyst Risk Management
PO Box 230
Napier
Phone:   06 835 5868
Mobile:  027 276 6439
Email:   sean.cross at crm.co.nz 
http://www.crm.co.nz/

Offices in Auckland, Napier, Wellington & Christchurch

Disclaimer:
"The information contained in this document is confidential to the 
addressee(s) and may be legally privileged. Any view or opinions expressed 
are those of the author and may not be those of CRM. No guarantee or 
representation is made that this communication is free of errors, viruses or 
interference. If you have received this e-mail message in error please 
delete it and notify me. Thank you."
 




From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On 
Behalf Of Jeremy Coulter
Sent: Friday, 26 May 2006 8:06 a.m.
To: delphi at delphi.org.nz
Subject: [DUG] Web Services


Hi All.
We are looking at improving some stuff at work, and web services will be 
something I feel will help greatly.
 
What  A interested in knowing is, am I correct in understanding that Delphi 
7 can talk to a D2005 .Net webservice?
 
If the above understanding is correct, if I make a change to the web 
service, then I need to also change the exe calling the webservice?  i.e. if 
I add  new functon t the webservice, then the caling exe needs to know abou 
it etc. etc.
 
is this correct?
 
 
Thanks, jeremy


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 24/05/2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060526/8450851c/attachment.html


More information about the Delphi mailing list