Set manufacturer on a configuration item through a SOAP web services call

book

Article ID: 36088

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Question:

How can I set the manufacturer field on a configuration item(nr object) through SOAP web services?

 

Answer: 

 

- The manufacturer field cannot be set directly through a web service call
- This is the same behavior seen through the Service Desk Manager web interface
- Manufacturer is set through the Model field
- A Manufacturer Model relationship can be setup through the Service Desk web interface under the Administration tab at CA CMDB>CI Models
- Once a Manufacturer Model relationship is setup Model can be set through a web service call which will in turn set the Manufacturer field
- Below is an example of an updateObject web service call made through SOAPUI that sets the Model field on a configuration item:
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:updateObject>
         <sid>1765097405</sid>
         <objectHandle>nr:00187EAFC1B1D14AA0570FDBA3446814</objectHandle>
         <attrVals>            
            <string>model</string>
            <string>B7DA08747EEB514388EB7BF9EB6F4990</string>    
         </attrVals>
         <attributes>
            <string>id</string>
            <string>model</string>
            <string>manufacturer</string>
         </attributes>
      </ser:updateObject>
   </soapenv:Body>
</soapenv:Envelope>
 
 

Additional Information:

 

- More information on SOAP web services can be found in the Technical Reference Guide for SDM 12.9 and prior
- For SDM 14.1 this information can be found on the CA Service Management Wiki 

 

Environment

Release: SDMU0M99000-14.1-Service Desk Manager-Full License
Component: