Riskminder createUser webservice call ( WSDL)

Document ID : KB000121463
Last Modified Date : 21/11/2018
Show Technical Document Details
Question:
Can you provide a sample Web service request for createUser() method?
Environment:
AA 9.x
Answer:
Here is the sample example which can be used while making a createUser() Web service call.

<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>adminname</sec:userID>
    <sec:orgName>DEFAULTORG</sec:orgName>
    <sec:credential>password</sec:credential>
   </soap:Header>
   <soap:Body>
      <msgs:createUserRequest>
         <msgs:userDetails>
            <ns:userId>
               <!--Optional:-->
               <ns:orgName>DEFAULTORG</ns:orgName>
               <ns:userName>test10245</ns:userName>
                           </ns:userId>
                              <ns:firstName>test</ns:firstName>
                        <!--Optional:-->
            <ns:lastName>test1024</ns:lastName>
            <!--Optional:-->
            <ns:pam>Hi There</ns:pam>
                     </msgs:userDetails>
         <!--Optional:-->
         <msgs:clientTxId>test1234</msgs:clientTxId>
      </msgs:createUserRequest>
   </soap:Body>
</soap:Envelope>