use SOAP::Lite +trace => qw( debug ); my $param = SOAP::Data ->type('myType') ->name('in0' => \SOAP::Data->value( SOAP::Data->new(name => 'var1', type => 'xsd:boolean', value => "true" ), SOAP::Data->new(name => 'var3', type => 'xsd:string', value => "hello" ), )); SOAP::Lite -> service('http://www.xmethods.net/sd/StockQuoteService.wsdl') -> multirefinplace(1) -> getQuote($param);