cancel
Showing results for 
Search instead for 
Did you mean: 

GRC WebServices - Invalid priority type

former_member201064
Active Participant
0 Kudos

Hello forum,

I have a problem regarding the priority types in the IdM -> GRC webservices (posted here and in GRC forum as well).

This problem occurs for the webservices GRAC_LOOKUP_WS and GRAC_USER_ACCES_WS.

Using the webservice GRAC_LOOKUP_WS I cannot retrieve any data for the priorities. I tried re-adding the configuration as I read in another thread here. But that didn't helped a bit (or maybe I did it wrong?!).

Using the IdM VDS and SoapUI I get the same errors for GRAC_USER_ACCES_WS:


<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

   <soap-env:Header/>

   <soap-env:Body>

      <n0:GracIdmUsrAccsReqServicesResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">

         <MsgReturn>

            <MsgNo>4</MsgNo>

            <MsgType>ERROR</MsgType>

            <MsgStatement>Invalid priority type</MsgStatement>

         </MsgReturn>

         <RequestId/>

         <RequestNo/>

      </n0:GracIdmUsrAccsReqServicesResponse>

   </soap-env:Body>

</soap-env:Envelope>

Here the XML from SoapUI (shortened a bit by the items, but they are correctly configured)


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:GracIdmUsrAccsReqServices>

      

         <RequestHeaderData>

            <Reqtype>001</Reqtype>

            <Priority></Priority>

            <ReqDueDate></ReqDueDate>

            <ReqInitSystem>GRC_TO_IDM</ReqInitSystem>

            <Requestorid>Trui</Requestorid>

            <Email>trui.dominik@knauf.de</Email>

            <RequestReason>Hello world</RequestReason>

            <Funcarea>func</Funcarea>

            <Bproc>bproc</Bproc>

         </RequestHeaderData>

         <RequestedLineItem>

            <!--Zero or more repetitions:-->

            <item>

               <ItemName>V_DEGI_00140</ItemName>

               <Connector>GRC_TO_IDM</Connector>

               <ProvItemType>ROL</ProvItemType>

               <ProvType></ProvType>

               <AssignmentType></AssignmentType>

               <ProvStatus></ProvStatus>

               <ValidFrom>20150922</ValidFrom>

               <ValidTo>20151231</ValidTo>

               <FfOwner></FfOwner>

               <Comments></Comments>

               <ProvAction>006</ProvAction>

               <RoleType>BUS</RoleType>

            </item>

         </RequestedLineItem>

         <!--Optional:-->

         <UserGroup>

            <!--Zero or more repetitions:-->

            <item>

               <UserGroup></UserGroup>

               <UserGroupDesc></UserGroupDesc>

            </item>

         </UserGroup>

         <UserInfo>

            <!--Zero or more repetitions:-->

            <item>

... all items

            </item>

         </UserInfo>

      </urn:GracIdmUsrAccsReqServices>

   </soapenv:Body>

</soapenv:Envelope>

When I look in the table GRACPRIORITYT there are five priorities stored, from 1 to 5.

I cannot figure out where the problem could be. I tried various values like: High, Medium, 1, 3, 5, 001, 003, 010, ...

Any ideas on this?

Best regards

Dominik Trui

Accepted Solutions (1)

Accepted Solutions (1)

normann
Advisor
Advisor
0 Kudos

Hi Dominik,

have you tried tracing the web service call in SOAMANAGER on AC site? Have you tried value "000"?

What is the value of the global constant GRC_ROLE_PRIORITY_HIGH (if you are running IdM 7.2?)?

Regards

former_member201064
Active Participant
0 Kudos

The first value I tried was 000, after that I tried various values. Not really in the constant, but directly in the pass and SoapUI.

Tracing in SOAMANAGER:

I am not 100% sure whether I interpret this correctly. I have seen an error:

Exception handling for IF "CO_SERVICES_REGISTRY_FLAT_SI" OP name "getVersionInfo" MSG ID "5601021831730594E10080000AC9009F" user "TRUI"

The time near the time as the IdM task is running

Message from VDS states this:

Additional message = msgcode=4;msgdescription=Invalid priority type;msgtype=ERROR

former_member201064
Active Participant
0 Kudos

Solved here:

Nobody (aka me) added the priorities with type SAP_GRAC_ACCESS_REQUEST.

Answers (0)