Does somebody know how to invoke a Web Service / use WDSL from Delphi 5?

2011-03-09 Thread SoftTech

Greetings All,

I know Delphi 6 and above handle this, but I have an app in Delphi 5.1 that 
has not been converted to D2010 yet and my user wants to be able to 
communicate with a Cisco Web Dialer now.


Any ideas appreciated on how I might accomplish this using D5 would be 
greatly appreciated.


Thanks,
Mike 


__
Delphi-Talk mailing list - Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk


Re: Does somebody know how to invoke a Web Service / use WDSL from Delphi5?

2011-03-09 Thread Francois PIETTE
I know Delphi 6 and above handle this, but I have an app in Delphi 5.1 
that has not been converted to D2010 yet and my user wants to be able to 
communicate with a Cisco Web Dialer now.


Any ideas appreciated on how I might accomplish this using D5 would be 
greatly appreciated.


You have to implement it yourself. A webservice is nothing more than a HTTP 
request with a properly crafted XML document and a special header line. You 
can build the XML file easily since it is pure text and you can send the 
HTTP request, and grab the reply using ICS HTTP client component (ICS is 
freeware with fill source code. For Delphi 5, use ICS-V5. See 
http://www.overbyte.be).


As a consultant I could propose my services to do it, but it would cost you 
more than buying Delphi XE upgrade. Since Delphi XE include earlier versions 
such as Delphi 7 and Delphi 2007, it is probably a good idea to port your 
Delphi 5 application to Delphi 2007 which has the Web service stuff built 
in. Migrating from D5 to D2007 is mimal effort. Later you'll migrate to 
Delphi XE which is a little bit more work because of Unicode.


btw: until end of march, Embarcadero is doing a special action: all Delphi 
versions, including your elphi 5, gives the right to buy Delphi XE upgrade. 
After march you'll have to pay the full price !


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

__
Delphi-Talk mailing list - Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk