Ascio Web Service v3
Class Message
Property | Description |
---|---|
Attachments | |
Body | |
Created | |
FromAddress | Example: "administrator@ascio-test-domain.com" |
Subject | Example: "base64-encoded or 7 Bit ASCII" |
ToAddress | |
Type | Example: "owner" |
package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;
public class MessageExample {
public static Message main() {
String fileContentString = "abc123";
Attachment attachment = new Attachment();
attachment.setFileName("anything.jpg");
attachment.setContent(fileContentString.getBytes());
ArrayOfAttachmentAttachment attachments[] = new ArrayOfAttachmentAttachment[]{attachment};
Message message = new Message();
message.setAttachments(attachments);
message.setBody("BodyTest");
message.setCreated(Calendar.getInstance());
message.setFromAddress("administrator@ascio-test-domain.com");
message.setSubject("base64-encoded or 7 Bit ASCII");
message.setToAddress("ToAddressTest");
message.setType(MessageType.MessageToPartner);
return message;package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;
public class MessageExample {
public static Message main() {
String fileContentString = "abc123";
Attachment attachment = new Attachment();
attachment.setFileName("anything.jpg");
attachment.setContent(fileContentString.getBytes());
ArrayOfAttachmentAttachment attachments[] = new ArrayOfAttachmentAttachment[]{attachment};
Message message = new Message();
message.setAttachments(attachments);
message.setBody("BodyTest");
message.setCreated(Calendar.getInstance());
message.setFromAddress("administrator@ascio-test-domain.com");
message.setSubject("base64-encoded or 7 Bit ASCII");
message.setToAddress("ToAddressTest");
message.setType(MessageType.MessageToPartner);
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.
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.