Ascio Web Service v3

Class Message

PropertyDescription
Attachments
Body
Created
FromAddressExample: "administrator@ascio-test-domain.com"
SubjectExample: "base64-encoded or 7 Bit ASCII"
ToAddress
TypeExample: "owner"
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));

Message message =  new Message();
message.Attachments = attachments;
message.Body = "BodyTest";
message.BodySpecified = true;
message.Created = new \DateTime();
message.CreatedSpecified = true;
message.FromAddress = "administrator@ascio-test-domain.com";
message.FromAddressSpecified = true;
message.Subject = "base64-encoded or 7 Bit ASCII";
message.SubjectSpecified = true;
message.ToAddress = "ToAddressTest";
message.ToAddressSpecified = true;
message.Type = MessageType.MessageToPartner;
message.TypeSpecified = true;
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.