Ascio Web Service v2
Class GetMessageQueueResponse
Property |
---|
GetMessageQueueResult |
item |
Used in examples
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("GetMessageQueueResponse")->attr({xmlns => $namespace});
#Response
$getMessageQueueResult = \SOAP::Data->value(
SOAP::Data->name('Message','MessageTest'),
SOAP::Data->name('ResultCode',1),
SOAP::Data->name('Values',SOAP::Data->value())
);
#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
$item = \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)
);
#GetMessageQueueResponse
$getMessageQueueResponse = \SOAP::Data->value(
SOAP::Data->name('GetMessageQueueResult',$getMessageQueueResult),
SOAP::Data->name('item',$item)
);
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.