...XML FILE... #### ...XML FILE... #### $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); #### $method = SOAP::Data->name('getStamp')->attr({xmlns => $namespace}); $res = $client->call('getStamp', SOAP::Data->name('getStamp')->attr({xmnls => $namespace})->value($xml_file) ); #### ...XML FILE...