Leser: 2
10 Einträge, 1 Seite |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use strict; use CGI::Carp qw(fatalsToBrowser); use CGI qw(:standard escapeHTML); use SOAP::Lite; print header(), start_html(); print p('SOAP Anfrage...'); my $soap = new SOAP::Lite -> uri('http://testserver/soap/') -> on_action( sub { join '/', 'testserver/soap/', $_[1] } ) -> proxy('http://server-zeit01/soap/Service1.asmx'); print $soap ->HelloWorld() ->result; print p('SOAP ENDE'); print end_html();
use SOAP::Lite +trace => 'debug';
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#! perl use strict; use CGI::Carp qw(fatalsToBrowser); use CGI qw(:standard escapeHTML); use SOAP::Lite; print header(), start_html(); print p('SOAP Anfrage...'); my $return; my $return1; my $soap = SOAP::Lite ->service('http://testserver/soap/Parametertest/Parametertest.asmx?wsdl'); $return = $soap->HelloWorld(); $return1= $soap->Add(5,3),"\n"; print h4("return: $return"); print h5("Rückgabe Wert: $return1"); print p('SOAP ENDE'); print end_html();
10 Einträge, 1 Seite |