If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > Creat wsdl to match a service provided by a script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-22-06, 18:53
MYSQL007 MYSQL007 is offline
Registered User
 
Join Date: Jan 2005
Posts: 14
Creat wsdl to match a service provided by a script

Script1 'flights.cgi':

Quote:
#!/usr/bin/perl -w
# flight.cgi - flight SOAP handler
use SOAP::Transport::HTTP +trace;
SOAP::Transport::HTTP::CGI
-> dispatch_to('flight:?:checkFlightAvailability)')
-> handle
;
Script2 'check-flight.pl':

Code:
#!/usr/bin/perl -w
# check-flight.pl 
use SOAP::Lite;
my $flight_code=shift;
my $date=shift;


print "\n\nThe Result is:";
print SOAP::Lite
-> uri('urn:flight')
-> proxy('http://cgi-bin/flights.cgi')
-> checkFlightAvailability($flight_code,$date)
-> result . "\n";
I'm trying to write a WSDL file that matches the web service provided by flights.cgi but i'm not sure how to go about it? Any help would be great. Many thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On