#!/usr/bin/perl use strict; use warnings; use SOAP::Lite; use Data::Dumper; my $hashref = {1 => 'one', 2 => 'two'}; my $arrayref = [1,2,3,4,5,6]; my $args = { hashref => $hashref, arrayref => $arrayref}; my $soap = SOAP::Lite -> uri('https://domain.com/LogError') -> proxy('https://domain.com/path/to/logging_script'); my $res = $soap->test($args); print $res->result;