Ascio Web Service v3

Class GetNameWatchResponse

PropertyDescription
GetNameWatchResult
NameWatchInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;

public class GetNameWatchResponseExample {
	public static GetNameWatchResponse main() {
		
		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("administrator@ascio-test-domain.com");
		owner.setType("owner");
		owner.setDetails("DetailsTest");
		owner.setOrganisationNumber("OrganisationNumberTest");
		owner.setVatNumber("VatNumberTest");
		owner.setNexusCategory("NexusCategoryTest");

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

		ExtensionsKeyValue resellerExtensions[] =  new ExtensionsKeyValue[]{keyValue};
		resellerExtensions[0].setKey("Title");
		resellerExtensions[0].setValue("Mrs.");

                            
                            
                        
		Contact reseller =  new Contact();
		reseller.setFirstName("John");
		reseller.setLastName("Doe");
		reseller.setOrgName("Ascio");
		reseller.setAddress1("Address1Test");
		reseller.setAddress2("Address2Test");
		reseller.setCity("CityTest");
		reseller.setState("StateTest");
		reseller.setPostalCode("888349");
		reseller.setCountryCode("DK");
		reseller.setPhone("+45.123456789");
		reseller.setFax("+45.987654321");
		reseller.setEmail("administrator@ascio-test-domain.com");
		reseller.setType("owner");
		reseller.setDetails("DetailsTest");
		reseller.setOrganisationNumber("OrganisationNumberTest");
		reseller.setExtensions(resellerExtensions);

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

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

		CustomerReferenceInfo customerReference =  new CustomerReferenceInfo();
		customerReference.setHandle("JD123");
		customerReference.setExternalId("ExternalIdTest");
		customerReference.setDescription("DescriptionTest");
		customerReference.setExtensions(customerReferenceExtensions);
		customerReference.setCreationDate(Calendar.getInstance());
		customerReference.setStatus("StatusTest");

		NameWatchInfo nameWatchInfo =  new NameWatchInfo();
		nameWatchInfo.setHandle("JD123");
		nameWatchInfo.setStatus("StatusTest");
		nameWatchInfo.setCreated(Calendar.getInstance());
		nameWatchInfo.setExpires(Calendar.getInstance());
		nameWatchInfo.setName("ascio-is-great.com");
		nameWatchInfo.setNotificationFrequency(NotificationFrequencyType.Daily);
		nameWatchInfo.setTier(1);
		nameWatchInfo.setEmailNotification1("EmailNotification1Test");
		nameWatchInfo.setEmailNotification2("EmailNotification2Test");
		nameWatchInfo.setEmailNotification3("EmailNotification3Test");
		nameWatchInfo.setEmailNotification4("EmailNotification4Test");
		nameWatchInfo.setEmailNotification5("EmailNotification5Test");
		nameWatchInfo.setOwner(owner);
		nameWatchInfo.setReseller(reseller);
		nameWatchInfo.setObjectComment("Example Object Comment");
		nameWatchInfo.setCustomerReference(customerReference);
		nameWatchInfo.setReportUrl("ReportUrlTest");

		GetNameWatchResponse getNameWatchResponse =  new GetNameWatchResponse();
		getNameWatchResponse.setResultCode(1);
		getNameWatchResponse.setResultMessage("ResultMessageTest");
		getNameWatchResponse.setErrors(new String[]{
		});
		getNameWatchResponse.setNameWatchInfo(nameWatchInfo);
		return getNameWatchResponse;package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;

public class GetNameWatchResponseExample {
	public static GetNameWatchResponse main() {
		
		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("administrator@ascio-test-domain.com");
		owner.setType("owner");
		owner.setDetails("DetailsTest");
		owner.setOrganisationNumber("OrganisationNumberTest");
		owner.setVatNumber("VatNumberTest");
		owner.setNexusCategory("NexusCategoryTest");

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

		ExtensionsKeyValue resellerExtensions[] =  new ExtensionsKeyValue[]{keyValue};
		resellerExtensions[0].setKey("Title");
		resellerExtensions[0].setValue("Mrs.");

		Contact reseller =  new Contact();
		reseller.setFirstName("John");
		reseller.setLastName("Doe");
		reseller.setOrgName("Ascio");
		reseller.setAddress1("Address1Test");
		reseller.setAddress2("Address2Test");
		reseller.setCity("CityTest");
		reseller.setState("StateTest");
		reseller.setPostalCode("888349");
		reseller.setCountryCode("DK");
		reseller.setPhone("+45.123456789");
		reseller.setFax("+45.987654321");
		reseller.setEmail("administrator@ascio-test-domain.com");
		reseller.setType("owner");
		reseller.setDetails("DetailsTest");
		reseller.setOrganisationNumber("OrganisationNumberTest");
		reseller.setExtensions(resellerExtensions);

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

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

		CustomerReferenceInfo customerReference =  new CustomerReferenceInfo();
		customerReference.setHandle("JD123");
		customerReference.setExternalId("ExternalIdTest");
		customerReference.setDescription("DescriptionTest");
		customerReference.setExtensions(customerReferenceExtensions);
		customerReference.setCreationDate(Calendar.getInstance());
		customerReference.setStatus("StatusTest");

		NameWatchInfo nameWatchInfo =  new NameWatchInfo();
		nameWatchInfo.setHandle("JD123");
		nameWatchInfo.setStatus("StatusTest");
		nameWatchInfo.setCreated(Calendar.getInstance());
		nameWatchInfo.setExpires(Calendar.getInstance());
		nameWatchInfo.setName("ascio-is-great.com");
		nameWatchInfo.setNotificationFrequency(NotificationFrequencyType.Daily);
		nameWatchInfo.setTier(1);
		nameWatchInfo.setEmailNotification1("EmailNotification1Test");
		nameWatchInfo.setEmailNotification2("EmailNotification2Test");
		nameWatchInfo.setEmailNotification3("EmailNotification3Test");
		nameWatchInfo.setEmailNotification4("EmailNotification4Test");
		nameWatchInfo.setEmailNotification5("EmailNotification5Test");
		nameWatchInfo.setOwner(owner);
		nameWatchInfo.setReseller(reseller);
		nameWatchInfo.setObjectComment("Example Object Comment");
		nameWatchInfo.setCustomerReference(customerReference);
		nameWatchInfo.setReportUrl("ReportUrlTest");

		GetNameWatchResponse getNameWatchResponse =  new GetNameWatchResponse();
		getNameWatchResponse.setResultCode(1);
		getNameWatchResponse.setResultMessage("ResultMessageTest");
		getNameWatchResponse.setErrors(new String[]{
		});
		getNameWatchResponse.setNameWatchInfo(nameWatchInfo);
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.