Class PollQueueResponse

PropertyDescription
PollQueueResult
TotalCountExample: 1
Message
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

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

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

		PollQueueResponse pollQueueResponse =  new PollQueueResponse();
		pollQueueResponse.setResultCode(1);
		pollQueueResponse.setResultMessage("ResultMessageTest");
		pollQueueResponse.setErrors(new String[]{
		});
		pollQueueResponse.setTotalCount(1);
		pollQueueResponse.setMessage(message);
		return pollQueueResponse;package ascio.v3.examples;
import com.ascio.www._2013._02.*;

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

		PollQueueResponse pollQueueResponse =  new PollQueueResponse();
		pollQueueResponse.setResultCode(1);
		pollQueueResponse.setResultMessage("ResultMessageTest");
		pollQueueResponse.setErrors(new String[]{
		});
		pollQueueResponse.setTotalCount(1);
		pollQueueResponse.setMessage(message);
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.