IT Process Automation

 View Only

how to use UpdateObject in SOAP

  • 1.  how to use UpdateObject in SOAP

    Posted 30 days ago
      |   view attached

    HI

    I'm trying to use updateObject method and I got Error Message "Uneven name-value pairs to update"

    I would appreciate your hel

    <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>1787936107</sid>
             <objectHandle>cr:514801</objectHandle>
             <attrVals>
                <!--1 or more repetitions:-->
                <string>mm</string>
             </attrVals>
             <attributes>
                <!--1 or more repetitions:-->
                <string>description</string>
             </attributes>
          </ser:updateObject>
       </soapenv:Body>
    </soapenv:Envelope>