Ascio Web Service v2

Java Axis UploadRegistrantVerificationMessage

In case the partner does the Registrant Verification, the proof can be uploaded via AWS. In this case the process is like this:

  • Partner send an e-mail to the end-customer
  • The endcustomer clicks on a link, that leads to the partners confirmation site
  • The partner stores the e-mail he sent, together with the IP-address of the customer
  • The partner uploads it via AWS.

The customers email is passed in the "value" field.

Please click here for more information about the process: Registrant Verification process.

Response UploadRegistrantVerificationMessage(string sessionId,string value)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found

UploadRegistrantVerificationMessage Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
valuePlease provide an e-mail address here
Example: "administrator@ascio-test-domain.com"
details

UploadRegistrantVerificationMessageResponse

Property
UploadRegistrantVerificationMessageResult

Java Axis example

package ascio.v2.examples;
import java.util.Calendar;
import com.ascio.www._2007._01.*;

import ascio.lib.*;

public class UploadRegistrantVerificationMessageExample {
	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};

		Message message =  new Message();
		message.setAttachments(attachments);
		message.setBody("BodyTest");
		message.setCreated(Calendar.getInstance());
		message.setFromAddress("administrator@ascio-test-domain.com");
		message.setSubject("base64-encoded or 7 Bit ASCII");
		message.setToAddress("ToAddressTest");
		message.setType(MessageType.Message_to_Partner);

		ArrayOfMessageMessage messages[] =  new ArrayOfMessageMessage[]{message};

		RegistrantVerificationDetails details =  new RegistrantVerificationDetails();
		details.setVerifiedBy("1.1.1.1");
		details.setVerificationDate(Calendar.getInstance());
		details.setMessages(messages);
Please enter the IP-address of the confirming registrant here. It can be logged, when the end-customer enters the confirmation website.
		try {

			Response response = env.getClient().uploadRegistrantVerificationMessage(env.getSessionId(), "administrator@ascio-test-domain.com", details);


			System.out.println("UploadRegistrantVerificationMessage ResultCode\t: " + response.getResultCode().toString());
			System.out.println("UploadRegistrantVerificationMessage Message\t: " + response.getMessage());
			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();Please provide an e-mail address herepackage ascio.v2.examples;
import java.util.Calendar;
import com.ascio.www._2007._01.*;

import ascio.lib.*;

public class UploadRegistrantVerificationMessageExample {
	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};

		Message message =  new Message();
		message.setAttachments(attachments);
		message.setBody("BodyTest");
		message.setCreated(Calendar.getInstance());
		message.setFromAddress("administrator@ascio-test-domain.com");
		message.setSubject("base64-encoded or 7 Bit ASCII");
		message.setToAddress("ToAddressTest");
		message.setType(MessageType.Message_to_Partner);

		ArrayOfMessageMessage messages[] =  new ArrayOfMessageMessage[]{message};

		RegistrantVerificationDetails details =  new RegistrantVerificationDetails();
		details.setVerifiedBy("1.1.1.1");
		details.setVerificationDate(Calendar.getInstance());
		details.setMessages(messages);

		try {

			Response response = env.getClient().uploadRegistrantVerificationMessage(env.getSessionId(), "administrator@ascio-test-domain.com", details);


			System.out.println("UploadRegistrantVerificationMessage ResultCode\t: " + response.getResultCode().toString());
			System.out.println("UploadRegistrantVerificationMessage Message\t: " + response.getMessage());
			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.