Create a User in Clarity using WSDL / SOAP
search cancel

Create a User in Clarity using WSDL / SOAP

book

Article ID: 411322

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

  1. How to create a User in Clarity, via SOAP API, using information provided by WSDL?
  2. What URL to provide when, say, a client such as SOAP UI asks for the WSDL URL?

Resolution

  1. A sample SOAP request is as follows:
    • <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:obj="http://www.niku.com/xog/Object">
         <soapenv:Header>
            <obj:Auth>
               <obj:Username><!-- Provide username here --></obj:Username>
               <obj:Password><!-- Provide password here --></obj:Password>
            </obj:Auth>
         </soapenv:Header>
         <soapenv:Body>
            <obj:WriteUser>
               <!-- Insert XML structure from cmn_users_write.xml here -->
            </obj:WriteUser>
         </soapenv:Body>
      </soapenv:Envelope>
  2. The URL that has to be specified in a client such as SOAP UI to get the WSDL information is as follows:
    • http://example.com/niku/wsdl/Object/AllObjects?tenantId=clarity