my $soap_wdsl = 'https://example.com/service/API?wsdl'; my $client = SOAP::Lite->new; $client->proxy( $soap_wdsl ); $client->service( $soap_wdsl ); my $response = $client->setTransaction( $params );