Advertisement

05.29.2008 at 05:47AM PDT, ID: 23441156
[x]
Attachment Details

Perl Xml RPC

Asked by rcinformatica in Extensible Markup Language (XML), Perl Programming Language, Scripting Languages

Tags:

Hi Experts,
I am very new to RPC and XML
I need to create a site integrated with booking.com xml services for booking hotel,
I have this script file.cgi

#!/usr/bin/perl
use strict;
use Data::Dumper;
use RPC::XML::Client;

#create the client application
my $client = RPC::XML::Client->new(
      'https://name:pass\@distribution-xml.booking.com/xml-rpc',      error_handler => sub { die "Transport error: $_[0]" });#print the hotel details for hotel 10 in English

      print Dumper $client->simple_request(
      'bookings.getHotelDetails',
      {hotel_id=>10,languagecode=>'en'}
);

exit;

which is working running with the command perl file.cgi now I want the result in a web page, what should I add to my script to be able to call it from a web page?

thanksStart Free Trial
[+][-]05.29.2008 at 02:44PM PDT, ID: 21673567

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 02:45PM PDT, ID: 21673572

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 03:29PM PDT, ID: 21673883

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.29.2008 at 03:56PM PDT, ID: 21674012

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible Markup Language (XML), Perl Programming Language, Scripting Languages
Tags: perl
Sign Up Now!
Solution Provided By: kawas
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.30.2008 at 05:38AM PDT, ID: 21677126

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628