Solved

SWIFT (XML) messages in Delphi

Posted on 2006-06-16
4
866 Views
Last Modified: 2013-11-23
I wouuld llike to write an app that sends, receives and parses swift messages (which are essentially XML messages) over a network. How do I do this? I hope somebody has done this in delphi before. I would love a solution that can be done in D6 or D7 enterprise.
0
Comment
Question by:Goodangel Matope
4 Comments
 
LVL 28

Accepted Solution

by:
ciuly earned 250 total points
ID: 16926387
well, I never heard of swift before, but since you say it's xml, guess you could just use simple xml parsing using some xml component you prefer. Delphi has TXMLDocument .
but better pick your choise. here is a list of articles/parser/components: http://delphi.about.com/od/objectpascalide/l/aa072500a.htm
see which one best suits your needs.
0
 
LVL 17

Assisted Solution

by:Wim ten Brink
Wim ten Brink earned 250 total points
ID: 17121108
I've heard of SWIFT but have no experience with their XML formats. I do have some experience with EDI formats that are used by several Dutch banks.

Your problem consist of two parts, btw. First you need to know how to read and write those XML formats. The easiest thing to do would be to get access to the XML Schema of the Swift XML format. (Must be an XSD file.) This file can then be converted by Delphi's XML wizard in some code that will allow you to work with these formats. Unfortunately Borland implemented some errors in some XML datatypes, which affects any time-related type and the Boolean type. Borland uses the wrong date/time format for timestamps. Furthermore, booleans in XML are supposed to be all lowercase. Borland writes them with the first letter in uppercase. Thus True/False instead of true/false.

The second part is the communications part. For this you might use the Indy components to set up a TCP/IP connection. But it also means you need to know the protocol that is required for this communication. Is it simple FTP or more like SOAP? Or maybe something else?

People must have done this before but I wonder if the information about the XML schema or the communication protocol is freely available.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now