$client = SOAP::Lite -> proxy($endpoint); $client->soapversion('1.1'); $client->on_action(sub {"http://tempuri.org/getStamp"}); $client->autotype(0); $client->default_ns($namespace); $res = $client->getStamp($xml_file);