I've never used the stand-alone daemon, but if you're running as a CGI, you just check %ENV as if it were any other CGI. You might try something similar to the following. For the server side:
and for the client:#!/usr/bin/perl -- use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('test') -> handle(); package test; sub function { return \%ENV; }
#!/usr/bin/perl -- use SOAP::Lite; use Data::Dumper; my $soap = SOAP::Lite->new( proxy => 'http://127.0.0.1/cgi-bin/soap.pl', uri => 'urn:/test' ); my $som = $soap->function(); print Dumper $som->result();
In reply to Re: SOAP client IP
by jhourcle
in thread SOAP client IP
by m-rau
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |