Using SoapUI tool, you may have configured a request similar to the following in order to log a comment for an incident.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:logComment>
<sid>1909611350</sid>
<ticketHandle>cr:400153</ticketHandle>
<comment>test1</comment>
<internalFlag></internalFlag>
</ser:logComment>
</soapenv:Body>
</soapenv:Envelope>
The result is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server.userException</faultcode>
<faultstring>No such operation 'logComment'</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">mySDMservername</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Release: 17.1, 17.2
Component: CA Service Desk Manager, SOAP web services
Specify the value of 0 or 1 for "internalFlag".
For example, use the first or the second block of xml to make the request for the ticket ref_num corresponding to persid cr:400153:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:logComment>
<sid>1909611350</sid>
<ticketHandle>cr:400153</ticketHandle>
<comment>test1</comment>
<internalFlag>0</internalFlag>
</ser:logComment>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:logComment>
<sid>1909611350</sid>
<ticketHandle>cr:400153</ticketHandle>
<comment>test2</comment>
<internalFlag>1</internalFlag>
</ser:logComment>
</soapenv:Body>
</soapenv:Envelope>
The result would now be like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<logCommentResponse xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk"/>
</soapenv:Body>
</soapenv:Envelope>
You can confirm that "logComment" is included in the API using the web services URL in your web browser, search for "logComment" after the results are displayed on the page. The URL is formatted like: http://mySDMservername:8080/axis/services