Ascio Web Service v2

Class ArrayOfDomain

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

#Registrant
$registrant =  \SOAP::Data->value(
SOAP::Data->name('Name','ascio-is-great.com'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('RegistrantType','C1'),
SOAP::Data->name('VatNumber','VatNumberTest'),
SOAP::Data->name('NexusCategory','NexusCategoryTest'),
SOAP::Data->name('RegistrantNumber','abc123445'),
SOAP::Data->name('Details','DetailsTest')
);

#Contact
$adminContact =  \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);

#Contact
$techContact =  \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);

#Contact
$billingContact =  \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);

#Contact
$resellerContact =  \SOAP::Data->value(
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('Address2','Address2Test'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Fax','+45.987654321'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Details','DetailsTest'),
SOAP::Data->name('OrganisationNumber','OrganisationNumberTest')
);

#NameServer
$nameServer1 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns1.ascio.net'),
SOAP::Data->name('IpAddress','64.98.148.24'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer2 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns2.ascio.net'),
SOAP::Data->name('IpAddress','216.40.47.100'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer3 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns3.ascio.net'),
SOAP::Data->name('IpAddress','64.98.148.25'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer4 =  \SOAP::Data->value(
SOAP::Data->name('HostName','ns4.ascio.net'),
SOAP::Data->name('IpAddress','216.40.47.101'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','xxxx:xxxx:xxx:xxx:xxxx'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer5 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer6 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer7 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer8 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer9 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer10 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer11 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServer
$nameServer12 =  \SOAP::Data->value(
SOAP::Data->name('HostName','HostNameTest'),
SOAP::Data->name('IpAddress','IpAddressTest'),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('IpV6Address','IpV6AddressTest'),
SOAP::Data->name('Details','DetailsTest')
);

#NameServers
$nameServers =  \SOAP::Data->value(
SOAP::Data->name('NameServer1',$nameServer1),
SOAP::Data->name('NameServer2',$nameServer2),
SOAP::Data->name('NameServer3',$nameServer3),
SOAP::Data->name('NameServer4',$nameServer4),
SOAP::Data->name('NameServer5',$nameServer5),
SOAP::Data->name('NameServer6',$nameServer6),
SOAP::Data->name('NameServer7',$nameServer7),
SOAP::Data->name('NameServer8',$nameServer8),
SOAP::Data->name('NameServer9',$nameServer9),
SOAP::Data->name('NameServer10',$nameServer10),
SOAP::Data->name('NameServer11',$nameServer11),
SOAP::Data->name('NameServer12',$nameServer12)
);

#TradeMark
$trademark =  \SOAP::Data->value(
SOAP::Data->name('Name','ascio-is-great.com'),
SOAP::Data->name('Country','DK'),
SOAP::Data->name('Date',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('Number','NumberTest'),
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Contact','ContactTest'),
SOAP::Data->name('ContactLanguage','ContactLanguageTest'),
SOAP::Data->name('DocumentationLanguage','DocumentationLanguageTest'),
SOAP::Data->name('SecondContact','SecondContactTest'),
SOAP::Data->name('ThirdContact','ThirdContactTest'),
SOAP::Data->name('RegDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST'))
);

#DnsSecKey
$dnsSecKey1 =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);

#DnsSecKey
$dnsSecKey2 =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);

#DnsSecKey
$dnsSecKey3 =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);

#DnsSecKey
$dnsSecKey4 =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);

#DnsSecKey
$dnsSecKey5 =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123')
);

#DnsSecKeys
$dnsSecKeys =  \SOAP::Data->value(
SOAP::Data->name('DnsSecKey1',$dnsSecKey1),
SOAP::Data->name('DnsSecKey2',$dnsSecKey2),
SOAP::Data->name('DnsSecKey3',$dnsSecKey3),
SOAP::Data->name('DnsSecKey4',$dnsSecKey4),
SOAP::Data->name('DnsSecKey5',$dnsSecKey5)
);

#Extension
$extension =  \SOAP::Data->value(
SOAP::Data->name('Key','Title'),
SOAP::Data->name('Value','Mr.')
);

#Extensions
$extensions =  \SOAP::Data->value(
);

#PrivacyProxy
$privacyProxy =  \SOAP::Data->value(
SOAP::Data->name('Type','None'),
SOAP::Data->name('PrivacyAdmin','false'),
SOAP::Data->name('PrivacyTech','false'),
SOAP::Data->name('PrivacyBilling','false'),
SOAP::Data->name('Extensions',$extensions)
);

#Domain
$domain =  \SOAP::Data->value(
SOAP::Data->name('DomainName','testdomain123.com'),
SOAP::Data->name('DomainHandle','DomainHandleTest'),
SOAP::Data->name('RegPeriod',1),
SOAP::Data->name('RenewPeriod',1),
SOAP::Data->name('Status','StatusTest'),
SOAP::Data->name('AuthInfo','X4FF!zu'),
SOAP::Data->name('ExpDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('EncodingType','EncodingTypeTest'),
SOAP::Data->name('DomainPurpose','DomainPurposeTest'),
SOAP::Data->name('Comment','CommentTest'),
SOAP::Data->name('TransferLock','Unlock'),
SOAP::Data->name('DeleteLock','Unlock'),
SOAP::Data->name('UpdateLock','Unlock'),
SOAP::Data->name('QueueType','QueueTypeTest'),
SOAP::Data->name('Registrant',$registrant),
SOAP::Data->name('AdminContact',$adminContact),
SOAP::Data->name('TechContact',$techContact),
SOAP::Data->name('BillingContact',$billingContact),
SOAP::Data->name('ResellerContact',$resellerContact),
SOAP::Data->name('NameServers',$nameServers),
SOAP::Data->name('Trademark',$trademark),
SOAP::Data->name('DnsSecKeys',$dnsSecKeys),
SOAP::Data->name('PrivacyProxy',$privacyProxy),
SOAP::Data->name('DomainType','DomainTypeTest'),
SOAP::Data->name('DiscloseSocialData','true')
);

#ArrayOfDomain
$arrayOfDomain =  \SOAP::Data->value(
);
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.