Ascio DNS

Class ArrayOfZone

Property
Zone
use SOAP::Lite;
use Date::Format;
$proxy = "https://dnsservice.demo.ascio.com/DnsService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite->on_action( sub { "" } )->proxy($proxy);
$soap->autotype(0);
$method = SOAP::Data->name("ArrayOfZone")->attr({xmlns => $namespace});

#Record
$record =  \SOAP::Data->value(
SOAP::Data->name('Source','www.testing-ascio.com'),
SOAP::Data->name('TTL',3600),
SOAP::Data->name('Target','5.6.7.8')
);

#ArrayOfRecord
$records =  \SOAP::Data->value(
);

#Zone
$zone =  \SOAP::Data->value(
SOAP::Data->name('CreatedDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('IsSlave',''IsSlaveTest''),
SOAP::Data->name('MasterIp','MasterIpTest'),
SOAP::Data->name('Owner','OwnerTest'),
SOAP::Data->name('Records',$records),
SOAP::Data->name('ZoneName','ZoneNameTest')
);

#ArrayOfZone
$arrayOfZone =  \SOAP::Data->value(
);
WSDL AscioDns
https://dnsservice.demo.ascio.com/2010/10/30/DnsService.wsdl (OTE)
https://dnsservice.ascio.com/2010/10/30/DnsService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.