BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTTP 'POST' in Console BCB application

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
dev_dt
Guest





PostPosted: Wed May 10, 2006 5:14 am    Post subject: HTTP 'POST' in Console BCB application Reply with quote



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.
Back to top
dev_dt
Guest





PostPosted: Thu May 11, 2006 4:14 am    Post subject: Re: HTTP 'POST' in Console BCB application Reply with quote



Never mind, have solved it by making my own little http skeleton.
Back to top
Martin Fensome
Guest





PostPosted: Thu May 11, 2006 9:14 pm    Post subject: Re: HTTP 'POST' in Console BCB application Reply with quote



"dev_dt" <nospaamno (AT) nothanksthanx (DOT) com> wrote in message
news:4462b2cd (AT) newsgroups (DOT) borland.com...
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.