Ascio Web Service v3

Class GetQueueMessageResponse

PropertyDescription
GetQueueMessageResult
Message
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

Attachment attachment =  new Attachment();
attachment.FileName = "anything.jpg";
attachment.FileNameSpecified = true;
attachment.Content = base64_encode(123);
attachment.ContentSpecified = true;

ArrayOfAttachment attachments =  new ArrayOfAttachment(array($attachment));

ErrorCode errorCode =  new ErrorCode();
errorCode.Code = "CodeTest";
errorCode.CodeSpecified = true;
errorCode.Message = "MessageTest";
errorCode.MessageSpecified = true;

ArrayOfErrorCode errorCodes =  new ArrayOfErrorCode(array($errorCode));

QueueMessage message =  new QueueMessage();
message.Attachments = attachments;
message.ErrorCodes = errorCodes;
message.Id = 1;
message.IdSpecified = true;
message.Message = "MessageTest";
message.MessageSpecified = true;
message.MessageType = MessageType.MessageToPartner;
message.MessageTypeSpecified = true;
message.ObjectHandle = "ObjectHandleTest";
message.ObjectHandleSpecified = true;
message.ObjectName = "ObjectNameTest";
message.ObjectNameSpecified = true;
message.ObjectType = ObjectType.DomainType;
message.ObjectTypeSpecified = true;
message.OrderId = "TEST123456";
message.OrderIdSpecified = true;
message.OrderStatus = OrderStatusType.NotSet;
message.OrderStatusSpecified = true;
message.OrderType = OrderType.Register;
message.OrderTypeSpecified = true;

GetQueueMessageResponse getQueueMessageResponse =  new GetQueueMessageResponse();
getQueueMessageResponse.ResultCode = 1;
getQueueMessageResponse.ResultCodeSpecified = true;
getQueueMessageResponse.ResultMessage = "ResultMessageTest";
getQueueMessageResponse.ResultMessageSpecified = true;
getQueueMessageResponse.Errors = array(
	);
getQueueMessageResponse.Message = 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.