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 |
use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.ascio.com/2012/01/01/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite->on_action( sub { "" } )->proxy($proxy);
$soap->autotype(0);
$method = SOAP::Data->name("QueueItem")->attr({xmlns => $namespace});
#Attachment
$attachment = \SOAP::Data->value(
SOAP::Data->name('Data','DataTest'),
SOAP::Data->name('FileName','anything.jpg')
);
#ArrayOfAttachment
$attachments = \SOAP::Data->value(
);
#CallbackStatus
$callbackStatus = \SOAP::Data->value(
SOAP::Data->name('Message','MessageTest'),
SOAP::Data->name('Status','StatusTest')
);
#ArrayOfCallbackStatus
$statusList = \SOAP::Data->value(
);
#QueueItem
$queueItem = \SOAP::Data->value(
SOAP::Data->name('Attachments',$attachments),
SOAP::Data->name('DomainHandle','DomainHandleTest'),
SOAP::Data->name('DomainName','testdomain123.com'),
SOAP::Data->name('Msg','MsgTest'),
SOAP::Data->name('MsgId',1),
SOAP::Data->name('MsgType','Message_to_Partner'),
SOAP::Data->name('OrderStatus','NotSet'),
SOAP::Data->name('StatusList',$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.