CA Service Management

 View Only

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

Feb 01, 2017 09:10 AM

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!

Statistics
0 Favorited
17 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.