Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 5 of 5 total |
DBISAM, XML and servlets |
Mon, Jun 5 2006 2:12 AM | Permanent Link |
Pat | Hi,
I need to transfer DBISAM v3.27 records a government website. Presently I know nothing about web technology (but I hope that changes VERY quickly). The info I have at the moment is that I must use XML for the transfer. I am trying to get more info from the gov. department but I was given an official 'Quick Overview' as follows: *********************************** The Department's server comprises two servlets, an upload program and a status-check program. They may only be accessed via HTTPS using basic authentication. There are two published schemas, one for requests to these two servers and one describing the responses that may be returned. Communication with the servers is via the HTTP/S POST method, with the XML encoded records sent as a byte stream to the open connection. *********************************** Can someone more learned than myself give me advice on: - is this a pretty standard way of web communication? - is Delphi v6 capable of such a process? - do I have to learn Java, etc.. ? Thank you for ANY advice. Regards, Pat |
Mon, Jun 5 2006 3:21 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Pat
First you need a good comms package (I recommend Synapse http://www.ararat.cz/synapse/) good software, good support. Secondly a component that translates records to xml format (search Torry) After that its fairly simple coding. Roy Lambert |
Mon, Jun 5 2006 9:12 AM | Permanent Link |
Michael Baytalsky | Roy,
Sorry, but I believe your suggestion is misleading. Pat is most likely looking for web services solution which should be part of Delphi Pro and Enterprise edition. Using comm library and xml coder would be too much work for something that is already implemented as a standard. Pat: You don't need Java. Search Delphi help for WebServices. Ask your customer if they use web services and have WSDL. If so, Delphi will do all job for you. If they don't implement standard web services, then you will have to use some THTTP component (standard Indy may be good enough for this task) to get and post data and XML components to decode and encode them. Michael Roy Lambert wrote: > Pat > > > First you need a good comms package (I recommend Synapse http://www.ararat.cz/synapse/) good software, good support. > > Secondly a component that translates records to xml format (search Torry) > > After that its fairly simple coding. > > Roy Lambert > |
Mon, Jun 5 2006 4:52 PM | Permanent Link |
"Mike Shkolnik" | Pat,
you need the next: - export your dataset into xml-file (with required structure/xml tags) - upload to webserver (you may use the wininet library with wininet.pas or TWebbrowser component to post your file) -- With best regards, Mike Shkolnik E-mail: mshkolnik@scalabium.com WEB: http://www.scalabium.com "Pat" <pat@downunder.com> wrote in message news:0vh782lupatdi6k02pcs067bo6k1eah4ie@4ax.com... > Hi, > > I need to transfer DBISAM v3.27 records a government website. > Presently I know nothing about web technology (but I hope that changes > VERY quickly). > > The info I have at the moment is that I must use XML for the transfer. > I am trying to get more info from the gov. department but I was given > an official 'Quick Overview' as follows: > > *********************************** > The Department's server comprises two servlets, an upload program and > a status-check program. They may only be accessed via HTTPS using > basic authentication. There are two published schemas, one for > requests to these two servers and one describing the responses that > may be returned. Communication with the servers is via the HTTP/S > POST method, with the XML encoded records sent as a byte stream to the > open connection. > *********************************** > > Can someone more learned than myself give me advice on: > > - is this a pretty standard way of web communication? > - is Delphi v6 capable of such a process? > - do I have to learn Java, etc.. ? > > Thank you for ANY advice. > > Regards, > Pat > |
Tue, Jun 6 2006 4:09 PM | Permanent Link |
"Ron L." | Hi,
HTTPS is the standard web communication protocol running over a secure connection (thus HTTPS instead of HTTP). POST is one of the common methods of issuing a HTTP (or HTTPS) request. The other common one is GET - but POST has the advantage of a larger set of data that can be sent - but the disadvantage of having to use a larger HTTP request which is a little more cumbersome to create. I have had great success using INDY to sent HTTP and HTTPS requests and get the information back. I suspect that other tools will work just as well - but I do not know if INDY works well in Delphi 6 (I suspect it does). No need to learn Java or Web Services based on the description they provided. Ron. "Pat" <pat@downunder.com> wrote in message news:0vh782lupatdi6k02pcs067bo6k1eah4ie@4ax.com... > Hi, > > I need to transfer DBISAM v3.27 records a government website. > Presently I know nothing about web technology (but I hope that changes > VERY quickly). > > The info I have at the moment is that I must use XML for the transfer. > I am trying to get more info from the gov. department but I was given > an official 'Quick Overview' as follows: > > *********************************** > The Department's server comprises two servlets, an upload program and > a status-check program. They may only be accessed via HTTPS using > basic authentication. There are two published schemas, one for > requests to these two servers and one describing the responses that > may be returned. Communication with the servers is via the HTTP/S > POST method, with the XML encoded records sent as a byte stream to the > open connection. > *********************************** > > Can someone more learned than myself give me advice on: > > - is this a pretty standard way of web communication? > - is Delphi v6 capable of such a process? > - do I have to learn Java, etc.. ? > > Thank you for ANY advice. > > Regards, > Pat > |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |