Ascio Web Service v3

Class PollQueueResponse

PropertyDescription
PollQueueResult
TotalCountExample: 1
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;

PollQueueResponse pollQueueResponse =  new PollQueueResponse();
pollQueueResponse.ResultCode = 1;
pollQueueResponse.ResultCodeSpecified = true;
pollQueueResponse.ResultMessage = "ResultMessageTest";
pollQueueResponse.ResultMessageSpecified = true;
pollQueueResponse.Errors = array(
	);
pollQueueResponse.TotalCount = 1;
pollQueueResponse.TotalCountSpecified = true;
pollQueueResponse.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.