Ascio Web Service v3

Java Axis CreateOrder - RegistrantDetailsUpdate

Replaces the registrant with a new handle. There are 2 ways to submit the new Registrant:

  • 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

An OwnerChange is needed when materialized data is changed:

  • Name
  • Company
  • Company Numer
  • E-Mail Address (IRTP)

CreateOrderResponse CreateOrder(SecurityHeaderDetails securityHeader,CreateOrderRequest request)

Response codes

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

CreateOrder Request

PropertyType
request

CreateOrderResponse

PropertyDescription
CreateOrderResult
OrderInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

PropertyValue
OrderTypeRegistrantDetailsUpdate
requestDomainOrderRequest

Java Axis example

package ascio.v3.examples;
import com.ascio.www._2013._02.*;
import ascio.lib.*;

public class RegistrantDetailsUpdateExample {
	public static CreateOrderResponse main() {
		AscioConfig config = new AscioConfig();
		V3 env = config.getTesting().getV3();

		KeyValue keyValue =  new KeyValue();
		keyValue.setKey("Title");
		keyValue.setValue("Mr.");

		ExtensionsKeyValue ownerExtensions[] =  new ExtensionsKeyValue[]{keyValue};

		Registrant owner =  new Registrant();
		owner.setFirstName("John");
		owner.setLastName("Doe");
		owner.setOrgName("Ascio");
		owner.setAddress1("Address1Test");
		owner.setAddress2("Address2Test");
		owner.setCity("CityTest");
		owner.setState("StateTest");
		owner.setPostalCode("888349");
		owner.setCountryCode("DK");
		owner.setPhone("+45.123456789");
		owner.setFax("+45.987654321");
		owner.setEmail(config.getEmail());
		owner.setType("owner");
		owner.setDetails("DetailsTest");
		owner.setOrganisationNumber("OrganisationNumberTest");
		owner.setExtensions(ownerExtensions);
		owner.setVatNumber("VatNumberTest");
		owner.setNexusCategory("NexusCategoryTest");

                            
                                
                                    
                                    
                                
                            
                        
		Domain domain =  new Domain();
		domain.setName("ascio-is-great.com");
		domain.setOwner(owner);

		DomainOrderRequest request =  new DomainOrderRequest();
		request.setType(OrderType.RegistrantDetailsUpdate);
		request.setTransactionComment("TransactionCommentTest");
		request.setDomain(domain);

		try {
			CreateOrderResponse response = env.getClient().createOrder(request);			
			System.out.println("response\n");
			System.out.println("CreateOrder Code\t:" + response.getResultCode());
			System.out.println("CreateOrder Message\t: " + response.getResultMessage());

			System.out.println("Created OrderId	: "+response.getOrderInfo().getOrderId());
			if(response.getResultCode() > 200){
				for(String error : response.getErrors()) {
					System.out.print(error);
				}	
			}		
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new CreateOrderResponse();package ascio.v3.examples;
import com.ascio.www._2013._02.*;
import ascio.lib.*;

public class RegistrantDetailsUpdateExample {
	public static CreateOrderResponse main() {
		AscioConfig config = new AscioConfig();
		V3 env = config.getTesting().getV3();

		KeyValue keyValue =  new KeyValue();
		keyValue.setKey("Title");
		keyValue.setValue("Mr.");

		ExtensionsKeyValue ownerExtensions[] =  new ExtensionsKeyValue[]{keyValue};

		Registrant owner =  new Registrant();
		owner.setFirstName("John");
		owner.setLastName("Doe");
		owner.setOrgName("Ascio");
		owner.setAddress1("Address1Test");
		owner.setAddress2("Address2Test");
		owner.setCity("CityTest");
		owner.setState("StateTest");
		owner.setPostalCode("888349");
		owner.setCountryCode("DK");
		owner.setPhone("+45.123456789");
		owner.setFax("+45.987654321");
		owner.setEmail(config.getEmail());
		owner.setType("owner");
		owner.setDetails("DetailsTest");
		owner.setOrganisationNumber("OrganisationNumberTest");
		owner.setExtensions(ownerExtensions);
		owner.setVatNumber("VatNumberTest");
		owner.setNexusCategory("NexusCategoryTest");

		Domain domain =  new Domain();
		domain.setName("ascio-is-great.com");
		domain.setOwner(owner);

		DomainOrderRequest request =  new DomainOrderRequest();
		request.setType(OrderType.RegistrantDetailsUpdate);
		request.setTransactionComment("TransactionCommentTest");
		request.setDomain(domain);

		try {
			CreateOrderResponse response = env.getClient().createOrder(request);			
			System.out.println("response\n");
			System.out.println("CreateOrder Code\t:" + response.getResultCode());
			System.out.println("CreateOrder Message\t: " + response.getResultMessage());

			System.out.println("Created OrderId	: "+response.getOrderInfo().getOrderId());
			if(response.getResultCode() > 200){
				for(String error : response.getErrors()) {
					System.out.print(error);
				}	
			}		
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new CreateOrderResponse();
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.