Ela Jarecka wrote:
:
: All I know right now is that the client is a server, a physical maschine, on
: which a process is running awaiting my
: ( appropriately formatted ) messages.
The process is a web server, yes?
: Once it gets such a message it
: generates requested data and sends it back
: using scp to our proxy server.
: Sorry, but all I have is a documentation written by someone who is not
: reachable at the moment..
:
: Do you have any examples of the second solution? E.g. for opening a
: https-connection by a Perl script? It may be
: really simple as I am completely new to the subject...
>From the Crypt::SSLeay documentation:
use LWP::UserAgent;
my $ua = new LWP::UserAgent;
my $req = new HTTP::Request('GET', 'https://www.nodeworks.com');
my $res = $ua->request($req);
print $res->code."\n";
>From the Net::SSLeay documentation:
use Net::SSLeay, qw(get_https post_https sslcat make_headers make_form);
($page, $response, %reply_headers)
= post_https('www.bacus.pt', 443, '/foo.cgi', '',
make_form(
'OK' => '1',
'name' => 'Sampo'
));
Presumably in the second example, you could replace make_form()
with the XML message.
-- tdk