Issue:
We enabled the Authentication and Authorization feature for Web Services from CA Advanced Authentication administration console for User Data Service (UDS). Once any method from UDS is accessed following error is observed-
"31132::Invalid authentication request"
Cause:
The issue is caused by the missing namespace from the Soap header xmlns:sec="http://ws.arcot.com/UDSTransaction/1.0
Resolution:
Add the missing name space in the Soap Header. Here is a sample request for GetPAM() method of UDS Web Services.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:msgs="http://ws.arcot.com/ArcotUserRegistrySvc/1.0/msgs" xmlns:ns="http://ws.arcot.com/UserSchema/1.0" xmlns:sec="http://ws.arcot.com/UDSTransaction/1.0">
<soap:Header>
<sec:userID>globaladmin</sec:userID>
<sec:orgName>defaultorg</sec:orgName>
<sec:credential>password</sec:credential>
</soap:Header>
<soap:Body>
<msgs:getPAMRequest>
<msgs:UserId>
<ns:userName>testuser2</ns:userName>
</msgs:UserId>
</msgs:getPAMRequest>
</soap:Body>
</soap:Envelope>