With the following XML request I'm able to find the Access Role named SSO_APP_SERVICENOW
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:TaskContext>
<wsdl:admin_id>testiam</wsdl:admin_id>
</wsdl:TaskContext>
<wsdl:ViewAccessRoleQuery>
<wsdl:ViewAccessRoleSearch>
<wsdl:Subject index="0">
<wsdl:Name>SSO_APP_SERVICENOW</wsdl:Name>
</wsdl:Subject>
</wsdl:ViewAccessRoleSearch>
</wsdl:ViewAccessRoleQuery>
</soapenv:Body>
</soapenv:Envelope>
Now, I would like to return more than one Access Roles with only one request.
I tried with the following XML with no success because it always finds the first searched Access Role (that one with index="0"), SSO_APP_SERVICENOW in this case:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:TaskContext>
<wsdl:admin_id>testiam</wsdl:admin_id>
</wsdl:TaskContext>
<wsdl:ViewAccessRoleQuery>
<wsdl:ViewAccessRoleSearch>
<wsdl:Subject index="0">
<wsdl:Name>SSO_APP_SERVICENOW</wsdl:Name>
</wsdl:Subject>
<wsdl:Subject index="1">
<wsdl:Name>SSO_APP_PARCEL</wsdl:Name>
</wsdl:Subject>
<wsdl:Subject index="2">
<wsdl:Name>SSO_APP_SALESFORCE</wsdl:Name>
</wsdl:Subject>
</wsdl:ViewAccessRoleSearch>
</wsdl:ViewAccessRoleQuery>
</soapenv:Body>
</soapenv:Envelope>
Is it possible? May you provide the right request XML?
Regards,
Gabriele