PHP 5 Classes CreateOrder - Nameserver_Update (DnsSec)

Replaces the DnsSec with a new handle. There are 2 ways to submit the new Nameserver:

  • Submit a Handle-ID. The handle linked to the domain will be replaced
  • Submit new data. A new handle will be created. The handle linked to the domain will be replaced

With the Nameserver Update, it is possible to change DnsSec.

Response CreateOrder(string $sessionId,Order $order)

Response codes

ResultCodeMessageValue
200Order validated
200Order received
400Order not validatedMessages
401Authorization failed
405Access denied

CreateOrder request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
order

CreateOrderResponse

Property
CreateOrderResult
order

PHP 5 Classes example

<?php
$wsdl = 'https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl';
$client = new SoapClient($wsdl,array( "trace" => 1 ));

$order = array(
    'Type' => 'Register_Domain',
    'Comments' => 'Order Test',
    'Domain' => Array(
        'DomainName'    => 'myDomainName',
        'DnsSecKeys' => Array(
            'DnsSecKey1' => Array(
                'DigestAlgorithm'   => 3,
                'DigestType'        => 1,
                'Digest'            => 'wEAAZI6QOGu1ufPahKerQzTp+wWQ96Qh5hKXIMOTNVF1D+rsbMBau4f zUmz+Lh/E8r9FSC3/X71p4HDCFPwT9OFp2J2eSPUBclZmwYfLRs1J4aA oWgCr5HI5G5MV6X/GGAB8U0gBrlwRZPAyELEIINbnEHblMIrIpUQkVH9 rOiwN81fDtrnjr2QrMpMz8rRBoj8TBKr9yXAT49RrJeAfLL0SgU=',
                'Protocol'          => 3
                'KeyType'           => 1,
                'KeyAlgorithm'      => 3,
                'KeyTag'            => '12180',
                'PublicKey'         => 'wEAAZI6QOGu1ufPahKerQzTp+wWQ96Qh5hKXIMOTNVF1D+rsbMBau4f zUmz+Lh/E8r9FSC3/X71p4HDCFPwT9OFp2J2eSPUBclZmwYfLRs1J4aA oWgCr5HI5G5MV6X/GGAB8U0gBrlwRZPAyELEIINbnEHblMIrIpUQkVH9 rOiwN81fDtrnjr2QrMpMz8rRBoj8TBKr9yXAT49RrJeAfLL0SgU='
                
            ),
          
            )
        )
    );

$params = array(
    'sessionId' => 'mySessionId',
    'order' => $order
    );
try {
    $result = $client->CreateOrder($params);
    
    echo "ResultCode : ".$result->CreateOrderResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateOrderResult->Message."\r\n";
    
    if ($result->CreateOrderResult->ResultCode == '200') {
        echo "OrderId : ".$result->order->OrderId."\r\n";
    }   
} catch(Exception $e) {
    echo $e->getMessage(); 
}
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)