 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Todd Jaspers Guest
|
Posted: Thu May 27, 2004 7:47 pm Post subject: WebServices and Alessandro Federici |
|
|
Hey guys, I'm looking for someone named Alessandro Federici. I have been
told he is the Web Services god in Delphi.
Here is my problem. I am having a very difficult time comprehending the
concept behind a web service.
My boss asked me to:
1) Create a "service" that will read in a series of PDF file names (from a
folder).
2) Compare the file names with the file names listed in a database
3) Take the PDF files and print them automatically using the syntax that you
can pass to Adobe Acrobat (the printer information is understood because
it's listed for each PDF file in the database).
THAT part is no problem... BUT..
He said he also wanted me to create a CLIENT control in which different LABS
could monitor the PDF files, and control the printing manually.
He said he wanted me to have Delphi contact the Client through webpages
using SOAP.
I'm under the impression that I have to use a WebService to do this. I am
completely at a loss. Everywhere I look to create a Web Service, it asks me
for one that already exists.. I thought hte point was that I was supposed to
create my own Web Service? Can anyone tell me, what exactly a Web Service
is... how do I create one, what am I doing?
ALL my experience in Delphi has been solely to create Database
Applications.. I've used XML on numerous occasions, and I understand that
SOAP is XML, but basically with standard tag lines.
ANY help is appreciated. I went to Matlus.com and that helped some, but it
only brings up more questions for which I don't even know how to ask?
Thanks!
Todd
|
|
| Back to top |
|
 |
JoeH Guest
|
Posted: Thu May 27, 2004 7:50 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
"Todd Jaspers" <tjaspers (AT) bellsouth (DOT) net> wrote
| Quote: | Hey guys, I'm looking for someone
named Alessandro Federici. I have been
told he is the Web Services god in Delphi.
|
Hi Todd
Indeed, but so is his partner, Marc. You can find them both
at www.remobjects.com and if you purchase their awesome
frameworks (Remote Objects, Data Abstract) you'll probably
be promoted to CEO in your company.
See you on the RO/DA newsgroups soon !
:-)
JoeH
|
|
| Back to top |
|
 |
mamcx Guest
|
Posted: Thu May 27, 2004 8:05 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici.
Must be bussy with your own company, www.remobjects.com |
| Quote: | Here is my problem. I am having a very difficult time comprehending the
concept behind a web service.
|
A web service, is simply: A class exposed with a discovery
language(WSDL), standarized with the name of SOAP, and marshall data
using XML. In other words, is put:
function HelloDude():String
begin
...
...
end;
In something like (NO THE REAL REPRESENTATION)
<A Soap function Id=HelloDude ReturnValue=String>
So any client can read it and execute it. In the website
www.remobjects.com exist good articles. Plus, search bdn.borland.com,
exist material about it
However, you can use plain delphi for the task too.
| Quote: |
THAT part is no problem... BUT..
He said he also wanted me to create a CLIENT control in which different LABS
could monitor the PDF files, and control the printing manually.
He said he wanted me to have Delphi contact the Client through webpages
using SOAP.
|
He, is a manager or really know ??? ;)
| Quote: | I'm under the impression that I have to use a WebService to do this. I am
completely at a loss. Everywhere I look to create a Web Service, it asks me
for one that already exists.. I thought hte point was that I was supposed to
create my own Web Service? Can anyone tell me, what exactly a Web Service
is... how do I create one, what am I doing?
|
A web service can be a way, not the only way. By fortune, with Delphi is
not so hard. The only tricky part can be return the file using the
webservice, but if you only need list things and return simply values is
very simply.
| Quote: | ALL my experience in Delphi has been solely to create Database
Applications.. I've used XML on numerous occasions, and I understand that
SOAP is XML, but basically with standard tag lines.
|
Is the same tricks with new names... Don't worry so much. If you have
past experiences with COM, MIDAS, DataSnap, or anny midle-tier then the
thing is similar...
|
|
| Back to top |
|
 |
Kristofer Skaug Guest
|
Posted: Thu May 27, 2004 8:10 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Todd Jaspers wrote:
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici. I have
been told he is the Web Services god in Delphi.
|
Fantastic introduction <g>
--
Kristofer
|
|
| Back to top |
|
 |
Trevor de Koekkoek Guest
|
Posted: Thu May 27, 2004 8:13 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Hi Todd. I've been doing a lot with Webservices lately using a combination
of Delphi 7, 8 and VS.NET (C#) depending on circumstances.
I can probably help you out privately via email. You can reach me at
trevor_dek @ aspevia dot com
-Trevor
|
|
| Back to top |
|
 |
Craig Stuntz [TeamB] Guest
|
Posted: Thu May 27, 2004 8:27 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Todd Jaspers wrote:
| Quote: | I'm under the impression that I have to use a WebService to do this.
I am completely at a loss. Everywhere I look to create a Web Service,
it asks me for one that already exists.. I thought hte point was that
I was supposed to create my own Web Service? Can anyone tell me, what
exactly a Web Service is... how do I create one, what am I doing?
|
File->New->Other->WebServices->SOAP Server Application
This starts a wizard which will help you out.
There's quite a bit about this in Help.
Here are a couple of samples:
http://community.borland.com/article/0,1410,27399,00.html
http://community.borland.com/article/0,1410,27575,00.html
This site produces a white paper on how to do it using your choice of
web server, IDE, and data components:
http://www.drbob42.com/soap42.htm
It covers both the client and server. At a basic level, this is very,
very easy.
-Craig
--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
InterBase in Multi-tier World -- Use multiple RDMs, IB features in
your appserver: http://delphi.weblogs.com/stories/storyReader$195
|
|
| Back to top |
|
 |
Derek Davidson Guest
|
Posted: Thu May 27, 2004 9:55 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Todd Jaspers wrote:
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici.
|
As Joe said, he's at www.remobjects.com. However, he's away for a weeks
break at the moment! (first time Ive known him to take a break).
I'll second some of the comments you're seeing as regards RemObjects.
It's fantastic stuff and the cornerstone of the apps I am producing
today.
--
Derek Davidson
http://www.enterpriseblue.com
For the world's EASIEST Help Desk software
Now Verified for Microsoft Windows Server 2003
|
|
| Back to top |
|
 |
marc hoffman Guest
|
Posted: Thu May 27, 2004 11:30 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Derek,
| Quote: | As Joe said, he's at www.remobjects.com. However, he's away for a weeks
break at the moment! (first time Ive known him to take a break).
|
naa. all work and no play. he's away on business, of course. -)
| Quote: | I'll second some of the comments you're seeing as regards RemObjects.
It's fantastic stuff and the cornerstone of the apps I am producing
today.
|
thanx always and much appreciated!
--
marc hoffman
RemObjects Software
http://www.remobjects.com
|
|
| Back to top |
|
 |
Ender Guest
|
Posted: Fri May 28, 2004 4:40 am Post subject: Re: WebServices and Alessandro Federici |
|
|
Todd Jaspers wrote:
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici. I have
been told he is the Web Services god in Delphi.
[...]
|
Favorite munchkin's spell: "Call deity". :-)
|
|
| Back to top |
|
 |
Todd Jaspers Guest
|
Posted: Fri May 28, 2004 12:14 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
Thanks!!!! I printed this out!
|
|
| Back to top |
|
 |
Todd Jaspers Guest
|
Posted: Fri May 28, 2004 12:14 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
"Craig Stuntz [TeamB]" <cstuntz (AT) nospam (DOT) please [a.k.a. vertexsoftware.com]>
wrote in message news:40b64f35 (AT) newsgroups (DOT) borland.com...
| Quote: | Todd Jaspers wrote:
|
Thanks Craig! This helps a lot!
|
|
| Back to top |
|
 |
Ed Dressel Guest
|
Posted: Sat May 29, 2004 4:25 pm Post subject: Re: WebServices and Alessandro Federici |
|
|
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici. I have been
told he is the Web Services god in Delphi.
|
has he been demoted?<g>
|
|
| Back to top |
|
 |
Alessandro Federici [RemO Guest
|
Posted: Tue Jun 01, 2004 5:27 am Post subject: Re: WebServices and Alessandro Federici |
|
|
"Todd Jaspers" <tjaspers (AT) bellsouth (DOT) net> wrote
Hi Todd,
I just saw this post and I was away for a business trip, sorry for the
late reply.
| Quote: | Hey guys, I'm looking for someone named Alessandro Federici. I have been
told he is the Web Services god in Delphi.
|
<BLUSH>
Well, that's surely a first! <G>
Not sure how to reply to this one, but thank you for the flattering words.
</BLUSH>
| Quote: | Here is my problem. I am having a very difficult time comprehending the
concept behind a web service.
My boss asked me to:
[..]
I'm under the impression that I have to use a WebService to do this. I am
completely at a loss. Everywhere I look to create a Web Service, it asks
me
for one that already exists.. I thought hte point was that I was supposed
to
create my own Web Service? Can anyone tell me, what exactly a Web Service
is... how do I create one, what am I doing?
ALL my experience in Delphi has been solely to create Database
Applications.. I've used XML on numerous occasions, and I understand that
SOAP is XML, but basically with standard tag lines.
ANY help is appreciated. I went to Matlus.com and that helped some, but it
only brings up more questions for which I don't even know how to ask?
|
Well, first of all, a bit of definitions: a "Service" is fundamentally a set
of procedures/functions that can be remotely invoked by a client
application. The emphasis these days is on the "Web" part which basically
means a service accessible remotely over HTTP using SOAP as messaging
protocol.
HTTP gets you to *where* the service is, the XML that defines the SOAP
message tells the service *what* to do.
I am intentionally over-simplifying this just to give you an idea. HTTP is
only one of the many possible protocols you can use to exchange SOAP
messages.
Take a look at http://www.soapuser.com/basics1.html for more in depth (but
still simple) information. I once had another link to a site that explained
SOAP in like 5 minutes, but I cannot find it now. The link above seems good
anyways.
You might also want to read more about SOA (Service Oriented Architecture).
Some interesting starting material can be found at:
http://www.service-architecture.com/web-services/articles/service-oriented_architecture_soa_definition.html
http://www.ondotnet.com/pub/a/dotnet/2003/08/18/soa_explained.html
and more by simply querying Google with a:
http://www.google.com/search?hl=en&ie=UTF-8&q=soa+service+oriented
Anyhow, the "how to create one" solely depends on the framework you're
using.
If you use Delphi 5+, you could use our product, the RemObjects SDK, as
explained by Bob Swart at http://www.drbob42.com/review/index.htm
We also have tutorials on our web site at www.remobjects.com
You might want to read what's in the introductory articles:
http://www.remobjects.com?RO01 (Introduction to the SDK)
http://www.remobjects.com?RO04 (Article that explains what our MegaDemo
sample does)
http://www.remobjects.com?RO05 (First Steps - How to Write a RemObjects
Server)
http://www.remobjects.com?RO06 (First Steps - How to Write a RemObjects
Client)
and later move to those related to Smart Services:
http://www.remobjects.com?RO07
http://www.remobjects.com?RO08
The RO07 article provides a good explanation of what Smart Services are and
why you want to use them versus only using the limited SOAP Web Services.
I hope the links above helped you somehow.
For more questions, please join us on our news server at
news://news.remobjects.com
--
Best regards,
Alessandro Federici
Chief Architecture Designer
RemObjects Software, Inc.
http://www.remobjects.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|