in reply to Web Service error

Try this server program
#!perl use strict; use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('Demo') -> handle; package Demo; sub test { my ($self,$msg) = @_; return "msg : $msg\n"; }
with this client
#!perl use SOAP::Lite; print SOAP::Lite -> uri('http://localhost/Demo') -> proxy('http://localhost/read_xml.cgi') -> test('hello server') -> result;
poj

Replies are listed 'Best First'.
Re^2: Web Service error
by chuck882 (Initiate) on Aug 21, 2014 at 20:27 UTC

    I can get that to execute correctly