Ascio Web Service v3

SOAP PollQueue

Poll a message

After polling and processing a message, it should be acked, in order to get the next message in the queue.

PollQueueResponse PollQueue(SecurityHeaderDetails securityHeader,PollQueueRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

PollQueue Request

Property
request

PollQueueResponse

PropertyDescription
PollQueueResult
TotalCountExample: 1
Message
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

SOAP example

<soapenv:Envelope xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:service="http://www.ascio.com/2013/02/AscioService" xmlns:v3="http://www.ascio.com/2013/02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
        <v3:SecurityHeaderDetails>
            <v3:Account>${#Project#Account}</v3:Account>
            <v3:Password>${#Project#Password}</v3:Password>
        </v3:SecurityHeaderDetails>
        <v3:ImpersonationHeaderDetails>
            <v3:TransactionAccount>${#Project#TransactionAccount}</v3:TransactionAccount>
        </v3:ImpersonationHeaderDetails>
    </soapenv:Header>
    <soapenv:Body>
        <service:PollQueue>
            <service:request>
                <v3:MessageType>MessageToPartner</v3:MessageType>
                <v3:ObjectType>DomainType</v3:ObjectType>
            </service:request>
        </service:PollQueue>
    </soapenv:Body>
</soapenv:Envelope>
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.