AnsweredAssumed Answered

How to get a group handle using soap operator

Question asked by Sivuyile on May 9, 2013
Latest reply on May 9, 2013 by Tom_Kouhsari
Hi Guys

please assist, I'm trying to get a group handle using the soap operator and inline text.

I call the doQuery method passing it a session ID, then object_type (cnt) and lastly my where clause ("last_name= '" + Process._usdGroup + "'") , this method returns a listHandle

I then call the getListValues passing it sessionID,the listHandle, startIndex of 0, endIndex of -1 and leave the attributeNames blank, the method should return the output of the query, the getListValueReturn returns this output (<?xml version="1.0" encoding="UTF-8"?><UDSObjectList/>), can you guys assist me or is there any another way to get the group Handle.

my inline text:

Works fine

<doQuery>
<sid>sid__</sid>
<objectType>objectType__</objectType>
<whereClause>whereClause__</whereClause>
</doQuery>


<getListValues>
<sid>sid__</sid>
<listHandle>listHandle__</listHandle>
<startIndex>startIndex__</startIndex>
<endIndex>endIndex__</endIndex>
<attributeNames>string__</attributeNames>
</getListValues>

Outcomes