Article View: borland.public.cppbuilder.internet.web
Article #602HTTP 'POST' in Console BCB application
From: dev_dt
Date: Wed, 10 May 2006 04:10
Date: Wed, 10 May 2006 04:10
39 lines
2712 bytes
2712 bytes
Hi, I have a server that handles communication with alot of other server's through sockets, its all written 'from scratch' in BCB 6.0 only using Win32 functions. This works fine, and uptil now ive been able to implement all the different protocols that i use in between theese servers from scratch. Now i need to communicate with a webserver (xml over http / SOAP) - and what i really wanted was to find somekind of component that were able to do the transport without making the communication-channel (the sockethandling, since i already have this) - but thats apparently not possible. The post's is very simple, so ive debugged the SOAP/XML packets, and got the 3 pieces of payload i need for the 3 different commands - therefore i dont need to implement a big XML/SOAP component in my software - but i do need a HTTP 1.1 transporter that can POST data, and manage the reply back too (important). I guess i could write it myself, but thinking about it this evening, i think its a bit messy to start with if i should handle it properly, therefore im in search of a way to do it by somekind of component or similar ? Its very very important to notice that this is a console-application (running as service), and this has to run in a DLL with no forms (and no, i dont want to make hidden forms) - my optimal goal was to find something that enabled me to compile this both in Borland and MSVC (if i wanted) - thats how it works today, and this wouldnt be possible if i found a big fancy component for borland. But the last issue above ISNT so important (though i still dont wanna make hidden forms ). Can you help me ? what would you recommend - and could you please include samples / experience with using what you recommend in a console application. Thanks alot.
Technical Details
Message-ID:
<446167d0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,98db9f209fb34694,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "dev_dt" <nospaamno@nothanksthanx.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: HTTP 'POST' in Console BCB application Date: Wed, 10 May 2006 06:10:59 +0200 Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 80.199.144.224 Message-ID: <446167d0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147234256 80.199.144.224 (9 May 2006 21:10:56 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail