use SOAP::Lite; my $client = SOAP::Lite->new; $client->soapversion('1.1'); my $code = $client->service($WSDL_URL); my $result = $code->someMethod( $someParam ); #### Possible SOAP version mismatch: Envelope namespace http://schemas.xmlsoap.org/wsdl/soap/ was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/. #### my $soap = SOAP::Lite ->uri($uri) ->proxy($proxy) ->on_action( sub { return $uri . '/' . $method } ); my $result = $soap->$method( SOAP::Data->name( someParam => $some_value ) ); #### use SOAP::Lite ( +trace => 'all', readable => 1, outputxml => 1, );