CA SDM::. CA SDM Web Service :: DoSelect method for contacts - How to use

Document created by TMACUL Champion on Feb 1, 2017
Version 1Show Document
  • View in full screen mode

In this method it is possible to search many CASDM objects, in this case let's look at the contacts, This link below shows how the method works.

CA SDM::. CA SDM Web Service :: DoSelect method 

 

In this other link the program that I use to test the webservice

SoapUI-x64-5.2.1.exe - SoapUI | Functional Testing for SOAP and REST APIs - Download SoapUI Open Source - mirror - soapu… 

 

Web service address

http://<server name>:8080/axis/services/USD_R11_WebService?wsdl

 

Request Example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:doSelect>
         <sid>1628612927</sid>
         <objectType>cnt</objectType>
         <whereClause>userid ='servicedesk'</whereClause>
         <maxRows>10</maxRows>
         <attributes>
            <!--1 or more repetitions:-->
            <string>id</string>
         </attributes>
      </ser:doSelect>
   </soapenv:Body>
</soapenv:Envelope>

 

Response:

<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>
      <doSelectResponse xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
         <doSelectReturn xmlns=""><![CDATA[<?xml version="1.0" encoding="UTF-8"?><UDSObjectList>
<UDSObject>
<Handle>cnt:171E5C822F5AA4409145FC5220142A50</Handle>
<Attributes>
<Attribute DataType="2009">
<AttrName>id</AttrName>
<AttrValue>171E5C822F5AA4409145FC5220142A50</AttrValue>
</Attribute>
</Attributes>
</UDSObject>
</UDSObjectList>]]></doSelectReturn>
      </doSelectResponse>
   </soapenv:Body>
</soapenv:Envelope>

 

 

 

 

know_more.png

How to Test/Access CA SDM Web Service :: Login method 

CA Service Desk WebService 

 

 

Was useful, please leave your feedback!

1 person found this helpful

Attachments

    Outcomes