Ascio Web Service v2
Class QueueItem
Property | Description |
---|---|
Attachments | |
DomainHandle | |
DomainName | Example: "ascio-test-domain" |
Msg | |
MsgId | Example: 1 |
MsgType | |
OrderId | Example: "TEST123456" |
OrderStatus | |
StatusList |
package ascio.v2.examples;
import com.ascio.www._2007._01.*;
public class QueueItemExample {
public static QueueItem main() {
String fileContentString = "abc123";
Attachment attachment = new Attachment();
attachment.setData(fileContentString.getBytes());
attachment.setFileName("anything.jpg");
Only the extension is important and must match with the content-type
ArrayOfAttachmentAttachment attachments[] = new ArrayOfAttachmentAttachment[]{attachment};
CallbackStatus callbackStatus = new CallbackStatus();
callbackStatus.setMessage("MessageTest");
callbackStatus.setStatus("StatusTest");
ArrayOfCallbackStatusCallbackStatus statusList[] = new ArrayOfCallbackStatusCallbackStatus[]{callbackStatus};
QueueItem queueItem = new QueueItem();
queueItem.setAttachments(attachments);
queueItem.setDomainHandle("DomainHandleTest");
queueItem.setDomainName("ascio-test-domain"+System.currentTimeMillis()+".com");
queueItem.setMsg("MsgTest");
queueItem.setMsgId(1);
queueItem.setMsgType(MessageType.Message_to_Partner);
queueItem.setOrderStatus(OrderStatusType.NotSet);
queueItem.setStatusList(statusList);
return queueItem;package ascio.v2.examples;
import com.ascio.www._2007._01.*;
public class QueueItemExample {
public static QueueItem main() {
String fileContentString = "abc123";
Attachment attachment = new Attachment();
attachment.setData(fileContentString.getBytes());
attachment.setFileName("anything.jpg");
ArrayOfAttachmentAttachment attachments[] = new ArrayOfAttachmentAttachment[]{attachment};
CallbackStatus callbackStatus = new CallbackStatus();
callbackStatus.setMessage("MessageTest");
callbackStatus.setStatus("StatusTest");
ArrayOfCallbackStatusCallbackStatus statusList[] = new ArrayOfCallbackStatusCallbackStatus[]{callbackStatus};
QueueItem queueItem = new QueueItem();
queueItem.setAttachments(attachments);
queueItem.setDomainHandle("DomainHandleTest");
queueItem.setDomainName("ascio-test-domain"+System.currentTimeMillis()+".com");
queueItem.setMsg("MsgTest");
queueItem.setMsgId(1);
queueItem.setMsgType(MessageType.Message_to_Partner);
queueItem.setOrderStatus(OrderStatusType.NotSet);
queueItem.setStatusList(statusList);
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.