Error: "No such operation 'createActivityLog'" When using createActivityLog method in SDM
search cancel

Error: "No such operation 'createActivityLog'" When using createActivityLog method in SDM

book

Article ID: 197853

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

When consuming a createActivityLog method, the following returns:


<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 'createActivityLog'</faultstring>
         <detail>
            <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">hostname</ns1:hostname>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Cause

missing data 

Resolution


Solution:

A value must be set to <timeSpent></timeSpent> 

Example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:createActivityLog>
         <sid>123345</sid>
         <creator>cnt:XXXXXXXXXXXXXXXXXXXXX</creator>
         <objectHandle>cr:123456</objectHandle>
         <description>test1</description>
         <logType>SOLN</logType>
         <timeSpent>1</timeSpent>
         <internal>0</internal>
      </ser:createActivityLog>