I want to integrate a custom application with Clarity using WSDL that calls XOG to read projects. What is the proper syntax?

Document ID : KB000052984
Last Modified Date : 14/02/2018
Show Technical Document Details


Can you explain the syntax for the function:

System.Xml.XmlElement ProjectsService.ReadProject(System.Xml.XmlElement ReadProject)

What do I have to pass on the parameter ReadProject to get the list of Projects?

When I run my WSDL (Web Services Description Language) code I'm getting "Missing NikuDataBus request document".


NikuDataBus is the XML Open Gateway (XOG) body that you need to pass to ReadProject.  After installing the XOG client on your local machine. You can get examples of the NikuDataBus syntax from the XOG client XML folder. You can use the 'prj_projects_read.xml' sample for ReadProject.

Here's an example of a request to read a project.

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 <Header version="" externalSource="NIKU">
</Header> <Query> <Filter name="projectID" criteria="EQUALS">project1234</Filter> </Query> </NikuDataBus> </tns:ReadProject> </soap:Body> </soap:Envelope>