use SOAP::Lite; print SOAP::Lite -> uri('http://www.soaplite.com/Demo') -> proxy('http://services.soaplite.com/hibye.cgi') -> hi() -> result; #### ->proxy('http://endpoint.server/', proxy => ['http' => 'http://my.proxy.server/']); #### Odd number of elements in hash assignment at /usr/lib/perl5/vendor_perl/5.8.8/LWP/UserAgent.pm line 35. Unrecognized LWP::UserAgent options: my.proxy.server at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 475