How to create a User in Clarity, via SOAP API, using information provided by WSDL?
What URL to provide when, say, a client such as SOAP UI asks for the WSDL URL?
Resolution
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>
The URL that has to be specified in a client such as SOAP UI to get the WSDL information is as follows: