C# SslCertificateOrderRequest

Request an SSL Certificate.

Please choose you the ProductCode from this list: SSL Certificates

The php classes can be downloaded here: PHP-Classes.

Response SslCertificateOrderRequest(OrderType OrderType)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

SslCertificateOrderRequest request

PropertyDescription
SslCertificate
TypeExample: "owner"
PeriodExample: 1
TransactionComment
Comments
Documentation
Options

Used in Classes

C# example

using (AscioServiceClient client = new AscioServiceClient()) {
    SslCertificateOrderRequest request = new SslCertificateOrderRequest();
    request.Type = OrderType.Register;
    request.TypeSpecified = true;
    request.Period = 1;
    request.PeriodSpecified = true;
    request.SslCertificate = new SandBox.ServiceReference1.SslCertificate {
        CommonName = "secure.mydomainname.com",
        ProductCode = "ssl123",
        WebServerType = WebServerType.Apache2,
        WebServerTypeSpecified = true,
        ApproverEmail = "admin@mydomainname.com",
        CSR = "MYCSR",
        Owner = new Registrant {
            Handle = "REGISTRANT_HANDLE"
        },
        Admin = new SandBox.ServiceReference1.Contact {
            Handle = "ADMIN_HANDLE"
        },
        Tech = new SandBox.ServiceReference1.Contact {
            Handle = "TECH_HANDLE"
        }
    };

    CreateOrderResponse createOrderResponse = client.CreateOrder(securityHeaderDetails, request);
    if (createOrderResponse != null) {
        Console.WriteLine("{0} : {1}", createOrderResponse.ResultCode, createOrderResponse.ResultMessage);
        Console.WriteLine("OrderId : {0}", createOrderResponse.OrderInfo.OrderId);
        if (createOrderResponse.Errors != null && createOrderResponse.Errors.Length > 0) {
            Console.WriteLine("Errors : ");
            foreach (var error in createOrderResponse.Errors) {
                Console.WriteLine(error);
            }
        }

        if (createOrderResponse.OrderInfo != null) {
            Console.WriteLine("Order Status : {0}", createOrderResponse.OrderInfo.Status);
            Console.WriteLine("OrderId : {0}", createOrderResponse.OrderInfo.OrderId);
        }
    }
}
WSDL for AWS v3
https://awstest.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)