XML-Parameters from the Server Side
[email protected] ("Naji, Khalid") Fri, 13 Nov 2009 12:13:55 +0100
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
how to read the XML-Parameters from the Server Side:
I use a Script client.pl to send XML-Parameters to a Script "server.pl"
client.pl:
...
my $uaB=new LWP::UserAgent;
$uaB->agent("TEST CALL" );
my $ReqB=new HTTP::Request GET => 'server.pl';
$ReqB->authorization_basic('TOTO','Password');
$ReqB->content_type('text/xml');
$ReqB->content("...<Parameter1>12345</Parameter1>...");
...
How can I read the XML-Parameters (Parameter1, etc) from the Server Side
"server.pl"?
Thank you
KN