Ascio Web Service v2

Java Axis CreateApprovalDocumentation

Uploads an IRTP verfication proof.

For owner-changes and transfers both parties, gaining and losing must be verified:

  • Send an e-mail to gaining and losing endcustomer. The e-mail contains a link with secret-id, and leads to the partner-verification website.
  • On the website the ip-addresses are stored.
  • The ip-addresses of the losing and gaining partner are sent to Ascio with then CreateApprovalDocumenetation command.
  • Ascio will not send any mails regarding IRTP to the losing and gaining party.
  • The IRTP replaces the Registrant Verification. If an IRTP process is completed, no Registrant Verification mail is sent.

Response CreateApprovalDocumentation(string sessionId,int msgId)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found

CreateApprovalDocumentation Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
approvalDocumentation

CreateApprovalDocumentationResponse

PropertyDescription
CreateApprovalDocumentationResult
documentationIdThe documentationId is used in the order.Documentation property.
PropertyValue
TypeIRTPApproval

Java Axis example

package ascio.v2.examples;
import java.util.Calendar;
import com.ascio.www._2007._01.*;
import com.ascio.www._2007._01.holders.*;
import ascio.lib.*;
import javax.xml.rpc.holders.*;

public class IRTPApprovalExample {
	public static Response main() {
		AscioConfig config = new AscioConfig();
		V2 env = config.getTesting().getV2();
		String fileContentString = "abc123";

		Attachment attachment =  new Attachment();
		attachment.setData(fileContentString.getBytes());
		attachment.setFileName("anything.jpg");
Only the extension is important and must match with the content-type
		ArrayOfAttachmentAttachment attachments[] =  new ArrayOfAttachmentAttachment[]{attachment};

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		ExtensionsExtension extensions[] =  new ExtensionsExtension[]{extension};
		extensions[0].setKey("LoosingOwnerApprovalIP");
		extensions[0].setValue("1.1.1.1");

		extensions[1].setKey("LoosingOwnerApprovalTimestamp");
		extensions[1].setValue("2016-12-06T22:09:07.707Z");

		extensions[2].setKey("GainingOwnerApprovalIP");
		extensions[2].setValue("1.1.1.1");

		extensions[3].setKey("GainingOwnerApprovalTimestamp");
		extensions[3].setValue("2016-12-06T22:09:07.707Z");

		extensions[4].setKey("IRTPOptOut");
		extensions[4].setValue(false);

                                
                                
                            
                                
                                
                            
                                
                                
                            
                                
                                
                            
                                
                                
                            
		ApprovalDocumentation approvalDocumentation =  new ApprovalDocumentation();
		approvalDocumentation.setType(ApprovalDocumentationType.IRTPApproval);
		approvalDocumentation.setObjectNames(new String[]{
		});
		approvalDocumentation.setAttachments(attachments);
		approvalDocumentation.setExtensions(extensions);
The domain-names that were verified.
                        
                            
                                
                                
                            
                        
                        
                            
                                
                                
                            
                        
                        
                            
                                
                                
                            
                        
                        
                            
                                
                                
                            
                        
                        
                            
                                
                                
                            
                        
                    
		try {
			/**outputs holders*/

			ResponseHolder createApprovalDocumentationResultHolder = new ResponseHolder();
			StringHolder documentationIdHolder = new StringHolder();

			env.getClient().createApprovalDocumentation(env.getSessionId(), approvalDocumentation, createApprovalDocumentationResultHolder, documentationIdHolder);

			Response response = createApprovalDocumentationResultHolder.value;

			System.out.println("CreateApprovalDocumentation ResultCode\t: " + response.getResultCode().toString());
			System.out.println("CreateApprovalDocumentation Message\t: " + response.getMessage());
			System.out.println("documentationId\t\t: " + documentationIdHolder.value);        
        
			if(response.getResultCode() == 400) {
				for( String value : response.getValues()) {
					System.out.println("Error:	" + value);
				}
			}
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new Response();package ascio.v2.examples;
import java.util.Calendar;
import com.ascio.www._2007._01.*;
import com.ascio.www._2007._01.holders.*;
import ascio.lib.*;
import javax.xml.rpc.holders.*;

public class IRTPApprovalExample {
	public static Response main() {
		AscioConfig config = new AscioConfig();
		V2 env = config.getTesting().getV2();
		String fileContentString = "abc123";

		Attachment attachment =  new Attachment();
		attachment.setData(fileContentString.getBytes());
		attachment.setFileName("anything.jpg");

		ArrayOfAttachmentAttachment attachments[] =  new ArrayOfAttachmentAttachment[]{attachment};

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		Extension extension =  new Extension();
		extension.setKey("Title");
		extension.setValue("Mr.");

		ExtensionsExtension extensions[] =  new ExtensionsExtension[]{extension};
		extensions[0].setKey("LoosingOwnerApprovalIP");
		extensions[0].setValue("1.1.1.1");

		extensions[1].setKey("LoosingOwnerApprovalTimestamp");
		extensions[1].setValue("2016-12-06T22:09:07.707Z");

		extensions[2].setKey("GainingOwnerApprovalIP");
		extensions[2].setValue("1.1.1.1");

		extensions[3].setKey("GainingOwnerApprovalTimestamp");
		extensions[3].setValue("2016-12-06T22:09:07.707Z");

		extensions[4].setKey("IRTPOptOut");
		extensions[4].setValue(false);

		ApprovalDocumentation approvalDocumentation =  new ApprovalDocumentation();
		approvalDocumentation.setType(ApprovalDocumentationType.IRTPApproval);
		approvalDocumentation.setObjectNames(new String[]{
		});
		approvalDocumentation.setAttachments(attachments);
		approvalDocumentation.setExtensions(extensions);

		try {
			/**outputs holders*/

			ResponseHolder createApprovalDocumentationResultHolder = new ResponseHolder();
			StringHolder documentationIdHolder = new StringHolder();

			env.getClient().createApprovalDocumentation(env.getSessionId(), approvalDocumentation, createApprovalDocumentationResultHolder, documentationIdHolder);

			Response response = createApprovalDocumentationResultHolder.value;

			System.out.println("CreateApprovalDocumentation ResultCode\t: " + response.getResultCode().toString());
			System.out.println("CreateApprovalDocumentation Message\t: " + response.getMessage());
			System.out.println("documentationId\t\t: " + documentationIdHolder.value);        
        
			if(response.getResultCode() == 400) {
				for( String value : response.getValues()) {
					System.out.println("Error:	" + value);
				}
			}
			return response;
		} catch (Exception e) {
			System.out.print(e);
		}
		return new Response();
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.