Brent_Verkler wrote:
From: Verkler, Brenton
Sent: Wednesday, December 12, 2012 1:46 PM
To: mb.11871426.99849557@myca-email.ca.com
Subject: RE: [PAM - General Discussion] RE: Service Desk - Create Request with Properties
Good afternoon.
This may be helpful (This is from soapUI 4.5.1 opening a Request with one required property in Service Desk R12.6):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:createRequest>
<sid>1558738301</sid>
<creatorHandle>cnt:F65CA47558A73E41BBFF34D0E65F6404</creatorHandle>
<attrVals>
<string>description</string>
<string>Test Description</string>
<string>category</string>
<string>pcat:66443334</string>
<string>log_agent</string>
<string>cnt:F65CA47558A73E41BBFF34D0E65F6404</string>
<string>summary</string>
<string>Test Summary Here</string>
<string>status</string>
<string>OP</string>
<string>customer</string>
<string>cnt:F65CA47558A73E41BBFF34D0E65F6404</string>
<string>type</string>
<string>R</string>
<string>priority</string>
<string>0</string>
</attrVals>
<propertyValues>
<!-- The value Yes below is the value of the first (and only) property dropdown -->
<string>Yes</string>
</propertyValues>
<template></template>
<attributes>
<string>ref_num</string>
</attributes>
<newRequestHandle></newRequestHandle>
<newRequestNumber></newRequestNumber>
</ser:createRequest>
</soapenv:Body>
</soapenv:Envelope>
--Thank You,
Brent
Brent, first of all thank you for such a quick reply!
This is very close to the template I received, and while I believe it is a working template - I am a person that likes to understand
how things work.
For example, I know I have to use the login method to get a sid ( Which I tested and it worked ), the only issue is I do not know how to pass that value to the CreateRequest method.
That is where I am stuck, I have done tons of scripting over the years ( kix, vbs, powershell) so I understand you have to pass values along, I just do not know how to even start in this app - and the most frustrating part it seems fairly simple.
CA has a lot of data ( technical ref guide, admin gudie, integration guide), they just do not even try to show you how to leverage all the data.
Perfect example in the above template, I see priority, attributes, customer - These are all things I recognize from the GUI, I just do not know how to actually put it together as the above template.
Basically, I have no idea how to gather the data and use it. I apologize if this sounds very noobish, I am just slightly frustrated at this point and wanted to point out my lack of knowledge and what my goals are.