Hi all,
I'm trying to use metrics endpoint (IDM 4.0.1 patch C) to find out
user's teams. From both java code and soapUi when I invoke web service
with admin credential all is OK and this is the response:
<ns1:getTeamsResponse
xmlns="http://www.novell.com/metrics/service"
xmlns:ns1="http://www.novell.com/metrics/service">
<result>
<columnCount>3</columnCount>
<columnNames>
<string>id</string>
<string>name</string>
<string>description</string>
</columnNames>
<columnTypes>
<string xsi:nil="1"/>
<string xsi:nil="1"/>
<string xsi:nil="1"/>
</columnTypes>
<data/>
<size>0</size>
</result>
</ns1:getTeamsResponse>

but when I invoke with all the other users I get the error:

<errorCode>0</errorCode>
<reason>Unexpected exception occurred making call to [Metrics]
webservice.</reason>

It not seems a permission error... in the UserApp log I find this:

2012-11-26 09:23:11,250 ERROR
[com.novell.soa.af.metrics.soap.MetricsServerHelper]
(http-0.0.0.0-8180-6) Unexpected exception occurred making call to
[Metrics] webservice.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at
com.novell.soa.af.metrics.impl.MetricsHelper.getTe ams(MetricsHelper.java:586)
at
com.novell.soa.af.metrics.soap.MetricsSkeletonImpl .getTeams(MetricsSkeletonImpl.java:181)

Anyone knows this kind of error? Thanks,

G


--
gabMan
------------------------------------------------------------------------
gabMan's Profile: https://forums.netiq.com/member.php?userid=985
View this thread: https://forums.netiq.com/showthread.php?t=46245