Ascio Web Service v3

Class QueueMessage

PropertyDescription
Attachments
ErrorCodes
IdExample: 1
Message
MessageTypeExample: "MessageToPartner"
ObjectHandle
ObjectName
ObjectType
OrderIdExample: "TEST123456"
OrderStatus
OrderType
package ascio.v3.examples;
import com.ascio.www._2013._02.*;

public class QueueMessageExample {
	public static QueueMessage main() {
		
		String fileContentString = "abc123";

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

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

		ErrorCode errorCode =  new ErrorCode();
		errorCode.setCode("CodeTest");
		errorCode.setMessage("MessageTest");

		ArrayOfErrorCodeErrorCode errorCodes[] =  new ArrayOfErrorCodeErrorCode[]{errorCode};

		QueueMessage queueMessage =  new QueueMessage();
		queueMessage.setAttachments(attachments);
		queueMessage.setErrorCodes(errorCodes);
		queueMessage.setId(1);
		queueMessage.setMessage("MessageTest");
		queueMessage.setMessageType(MessageType.MessageToPartner);
		queueMessage.setObjectHandle("ObjectHandleTest");
		queueMessage.setObjectName("ObjectNameTest");
		queueMessage.setObjectType(ObjectType.DomainType);
		queueMessage.setOrderId("TEST123456");
		queueMessage.setOrderStatus(OrderStatusType.NotSet);
		queueMessage.setOrderType(OrderType.Register);
		return queueMessage;package ascio.v3.examples;
import com.ascio.www._2013._02.*;

public class QueueMessageExample {
	public static QueueMessage main() {
		
		String fileContentString = "abc123";

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

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

		ErrorCode errorCode =  new ErrorCode();
		errorCode.setCode("CodeTest");
		errorCode.setMessage("MessageTest");

		ArrayOfErrorCodeErrorCode errorCodes[] =  new ArrayOfErrorCodeErrorCode[]{errorCode};

		QueueMessage queueMessage =  new QueueMessage();
		queueMessage.setAttachments(attachments);
		queueMessage.setErrorCodes(errorCodes);
		queueMessage.setId(1);
		queueMessage.setMessage("MessageTest");
		queueMessage.setMessageType(MessageType.MessageToPartner);
		queueMessage.setObjectHandle("ObjectHandleTest");
		queueMessage.setObjectName("ObjectNameTest");
		queueMessage.setObjectType(ObjectType.DomainType);
		queueMessage.setOrderId("TEST123456");
		queueMessage.setOrderStatus(OrderStatusType.NotSet);
		queueMessage.setOrderType(OrderType.Register);
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.