Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SWIFT (XML) messages in Delphi

Posted on 2006-06-16
4
872 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:
2266180 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 96
FMX StringGrid1->Canvas->FillRect Problem 3 170
Magic Software info 18 138
Convert MS Word document to a PDF file 9 90
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…

856 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