Monitor Advanced Authentication UDS component
Environment: UDS server deployed under a Web Application Server.
aa91
Environment: UDS server deployed under a Web Application Server.
To monitor a User Data Service server connectivity with the underlying DB.
- Select a non-invasive call to fetch data to interact with the server and ensure response.
- Check in release location <ARCOT_HOME>\wsdls\uds to verify the WebServices calls.
- Using SoapUI tools, create a SOAP project and load the WSDL by navigating to <ARCOT_HOME>\wsdls\uds\ ArcotOrganizationManagementSvc.wsdl. For example,
- Project name is “UDS WebServices” listed under all the exposed WebServices in left pane
- ArcotOrganizationManagementSvc.wsdl
- Call “getUserStatus”.
- Test the “getUserStatus” call via SOAPUI by providing the required SOAP parameters.getUserStatus call returns the user status as ACTIVE.
- On a unix machine, create “soap.xml” and capture SOAP request.=================================================== SOAP request in a file soap.xml ===================================== <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"> <soap:Header/> <soap:Body> <msgs:getUserStatusRequest> <msgs:userId> <!--Optional:--> <ns:orgName>defaultorg1</ns:orgName> <ns:userName>auser1</ns:userName> </msgs:userId> </msgs:getUserStatusRequest> </soap:Body> </soap:Envelope> =================================================== End of SOAP request ==================================================
- Submit a CURL command. When you get a valid response as “Organization, Defaultorg1 does not exist” the server is up and running.curl --header"content-type:application/soap+xml" -XPOST --header "SOAPAction:getUserStatus" -d @soap.xml <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Header> <udsTransactionID xmlns="http://ws.arcot.com/UDSTransaction/1.0">c9641c86-e843-4cb0-b9968b303597ac32 </udsTransactionID> <authToken xmlns="http://ws.arcot.com/UDSTransaction/1.0"> </authToken> </soapenv:Header> <soapenv:Body> <soapenv:Fault> <soapenv:Code> <soapenv:Value>soapenv:Receiver</soapenv:Value> </soapenv:Code> <soapenv:Reason> <soapenv:Text xml:lang="en-US">Organization, DEFAULTORG1 does not exist</soapenv:Text> </soapenv:Reason> <soapenv:Detail> <ns3:userRegistryError xmlns:ns3="http://ws.arcot.com/ArcotUserRegistrySvc/1.0/msgs"><ns1:errorMessage xmlns:ns1="http://ws.arcot.com/UserSchema/1.0">Organization, DEFAULTORG1 does not exist</ns1:errorMessage><ns1:errorNumber xmlns:ns1="http://ws.arcot.com/UserSchema/1.0">31124</ns1:errorNumber></ns3:userRegistryError> </soapenv:Detail> </soapenv:Fault></soapenv:Body></soapenv:Envelop