AnsweredAssumed Answered

SDM Create Object Attr Values

Question asked by sdteam-odya on May 14, 2015
Latest reply on May 15, 2015 by sdteam-odya

Hello,

 

I m sending variables to SDM SOAP operator. Im using  "Create Object"  webservice method how can I send attrvals variable to this method. ?

 

<CreateObject xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk">

<SID>SID__</SID> //Session id as Process.SessionID  that is OK

<ObjectType>ObjectType__</ObjectType>// Object type as ..... (we create an object) as Process.ObjectType(string)

<attrVals>

<string>string__</string> //This is NOT OK. I want to send --> new_value="test"  (new_value is name of object and "test" is value of object) 

</attrVals>

<attributes>

<string>string_3__</string>

</attributes>

</CreateObject>

 

I tried to write like this

"["new_value","test"]"

or like this:

"<string>new_value</string><string>test</string>"

 

I got this error:

 

The interpreted datatype of the value in value does not match the destination datatype.

 

Can you please help?

Thanks!

Ozge.

Outcomes