Web Service Details

SOAP Gateway Endpoint

Endpoint
URL

Staging

https://stg-id.uaepass.ae/trustedx-gw/SoapGateway

Production

https://id.uaepass.ae/trustedx-gw/SoapGateway

Transport Headers to invoke SOAP Service

HEAD https://stg-id.uaepass.ae/trustedx-gw/SoapGateway

Headers

Name
Type
Description

TwsAuthN

string

urn:safelayer:tws:policies:authentication:oauth:clients

SOAPAction

string

Verify

Content-Type

string

text/xml

Request

Below here is the SOAP template with place holder inside braces to be provided as per entity configuration and requirements:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xm 
lns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/X MLSchema-instance">
    <soapenv:Header>
        <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next " soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/0 1/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <wsse:UsernameToken> 
                <wsse:Username>{Client ID as shared to SP}</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis- 200401-wss-username-token-profile-1.0#PasswordText">{Client Secret as shared t o SP} </wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
        <VerifyRequest Profile="urn:safelayer:tws:dss:1.0:profiles:pdf:1.0:verif y" RequestID="{Random request ID for reference}" xmlns="http://www.docs.oasis- open.org/dss/2004/06/oasis-dss-1.0-core-schema-wd-27.xsd">
            <OptionalInputs>
                <ns1:ReturnSignerIdentity binary="true" xmlns:ns1="http://www.safe layer.com/TWS"/>
            </OptionalInputs>
            <InputDocuments>
                <Document> 
                    <Base64Data MimeType="application/pdf">
                        {Base64 encoded signed PDF document}
                    </Base64Data>
                </Document>
            </InputDocuments>
        </VerifyRequest>
    </soapenv:Body>
</soapenv:Envelope>

Sample Request/Response (with Sample Data)

The integration team can try below request in any SOAP service testing tool (e.g. SOAPUI, PostMan etc.) by replacing the username password as provided by UAEPASS onboarding team.

POST stg-id.uaepass.ae/trustedx-gw/SoapGateway

HTTP/1.1

Headers

Name
Type
Description

TwsAuthN

string

urn:safelayer:tws:policies:authentication:oauth:clients

SOAPAction

string

Verify

Content-Type

string

text/xml

Request Sample

Response Sample

Last updated

Was this helpful?