Ascio Web Service v3

Class UploadMessageRequest

PropertyDescription
OrderIdExample: "TEST123456"
Message
package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;

public class UploadMessageRequestExample {
	public static UploadMessageRequest 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);

		UploadMessageRequest uploadMessageRequest =  new UploadMessageRequest();
		uploadMessageRequest.setOrderId("TEST123456");
		uploadMessageRequest.setMessage(message);
		return uploadMessageRequest;package ascio.v3.examples;
import java.util.Calendar;
import com.ascio.www._2013._02.*;

public class UploadMessageRequestExample {
	public static UploadMessageRequest 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);

		UploadMessageRequest uploadMessageRequest =  new UploadMessageRequest();
		uploadMessageRequest.setOrderId("TEST123456");
		uploadMessageRequest.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.