Introdution:
How to access / Test CA Service Desk WebService Methods.
Environment:
CA Service Desk 14.1SOAP UI: 5.2.1
Instrutions:
01. Download the SOAP UI
SoapUI-x64-5.2.1.exe - SoapUI | Functional Testing for SOAP and REST APIs - Download SoapUI Open Source - mirror - soapui.org
03. Access CA SDM URL on the server/workstation where you are planning to install SOAPUI
05. File-> New SOAP Project # Project Name: Provide an appropriate project Name EX: CA SDM WebService # Initial WSDL: Provide correct CA SDM Webservice Path
http://localhost:8080/axis/services/USD_R11_WebService
It's case sensitive.
07. Select “UpdateObject” it´s method requires Session ID - Do you know how to do? Try.. How to Test/Access CA SDM Web Service :: Login method
<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>376751220</sid> <objectHandle>nr:2DCB5F47E312DC46A7D3DE53E550454F</objectHandle> <attrVals> <!--1 or more repetitions:--> <string>is_asset</string> <string>1</string> </attrVals> <attributes> <!--1 or more repetitions:--> <string>name</string> </attributes> </ser:updateObject> </soapenv:Body></soapenv:Envelope>
08. It'll updates your object
Example 01 Suceess
<?xml version="1.0" encoding="UTF-8"?><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><loginResponse xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk"><loginReturn xmlns="">366751220</loginReturn></loginResponse></soapenv:Body></soapenv:Envelope>
Example 02: Fail
<?xml version="1.0" encoding="UTF-8"?><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><loginResponse xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk"><loginReturn xmlns="">1005</loginReturn></loginResponse></soapenv:Body></soapenv:Envelope>
How to Test/Access CA SDM Web Service :: Login method
CA Service Desk WebService
CA SDM Trabalhando com WebService
How to Test/Access ITAM Web Service
Login Web Service method returning SID of 1005 - CA Knowledge