🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by dev_dt Wed, 10 May 2006 04:10
HTTP 'POST' in Console BCB application
#602
Author: dev_dt
Date: Wed, 10 May 2006 04:10
39 lines
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.
Re: HTTP 'POST' in Console BCB application
#603
Author: dev_dt
Date: Thu, 11 May 2006 03:43
1 lines
987 bytes
Never mind, have solved it by making my own little http skeleton.
Re: HTTP 'POST' in Console BCB application
#604
Author: Martin Fensome
Date: Thu, 11 May 2006 20:55
9 lines
1291 bytes
"dev_dt" <nospaamno@nothanksthanx.com> wrote in message 
news:4462b2cd@newsgroups.borland.com...
> Never mind, have solved it by making my own little http skeleton.

If it's not confidential, mabye you can post that for others that run into 
the same problem in the future?
Just a thought.

Martin 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads