Delphi 2005 + MSDE + WebService

I was asked to build an application which will be called from a existing program.

I have to do 3 main things:

1) Receive a parameter via command line. (Somewhere in the existing program, I will be called "MYPROGRAM 1234").
2) With the received parameter (1234 in the case)  I need to retrieve data in tables within a local MSSQL database.
3) With the data retrieved from tables I need to consume a Web Service passing formatted XML data.

I have Delphi 2005 Professional installed but never made an application with such kind of complexity.

Where do I start?
What kind of application will It be?
Is there an article or example?

Need help from some patient guy. It will be many questions...
LVL 1
jclobocarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BlackTigerXCommented:
1) Receive a parameter via command line.

var
  yourparam:string;
begin
  if (ParamCount >0) then
    yourparam:=ParamStr(1);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BlackTigerXCommented:
to retrieve information from a database, you have to do a lot of reading, depending on your level of knowledge, but here you can find information from beginning to end:
http://delphi.about.com/od/database/a/databasecourse.htm
0
BlackTigerXCommented:
3) With the data retrieved from tables I need to consume a Web Service passing formatted XML data.

so you are going to take the data that comes out of the database, format it in XML, then pass it to a web service?

if you are doing that, then that's a wrong approach, a web service in itself is formatted in XML

do you have control over the web service?
what parameters are expected from the web service?
0
pcsentinelCommented:
If you want XML support, you might be better of with SQL Server Express which is Microsofts replacement for MSDE and is a restricted version of SQL Server 2005, it has much better XML handling
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.