webservice/public/code/getIdentite-perl.txt
2011-06-16 09:38:46 +00:00

9 lines
382 B
Plaintext

use EntrepriseInterfaces::EntrepriseService::EntreprisePort;
my $service = EntrepriseInterfaces::EntrepriseService::EntreprisePort->new();
$service->proxy('http://login:hash@webservice.sd.lan/entreprise/v0.2');
my $params = EntrepriseElements::IdentiteRequest->new({
siret => '552144503',
});
my $result = $service->getIdentite($params);
die $result if not $result;
print $result;