Ascio Web Service v3

Class GetQueueMessageResponse

PropertyDescription
GetQueueMessageResult
Message
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

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

public class GetQueueMessageResponseExample {
	public static GetQueueMessageResponse 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);

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

public class GetQueueMessageResponseExample {
	public static GetQueueMessageResponse 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);

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