on 2015 Mar 31 10:10 AM
Hi SAP Gurus,
I am trying to call one web service exposed by SAP for GRAC_USER_ACCESS_WS.
But when i send the request I get following error in response
"Connector is not configured".
Can someone please provide me a valid request structure. So that i can test that from my end.
I am giving request and response xmls below. Please let me know what more needs to be passed in request
SOAP Request-
<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>
<!--Optional:-->
<CustomFieldsVal>
<!--Zero or more repetitions:-->
<item>
<Fieldname>test</Fieldname>
<Value>test</Value>
</item>
</CustomFieldsVal>
<!--Optional:-->
<Language>en</Language>
<!--Optional:-->
<Parameter>
<!--Zero or more repetitions:-->
<item>
<Parameter>test</Parameter>
<ParameterValue>test</ParameterValue>
<ParameterDesc>test</ParameterDesc>
</item>
</Parameter>
<RequestHeaderData>
<Reqtype>01</Reqtype>
<Priority>test</Priority>
<ReqDueDate>27.03.2015</ReqDueDate>
<ReqInitSystem>test</ReqInitSystem>
<Requestorid>test</Requestorid>
<Email>test@test.com</Email>
<RequestReason>test</RequestReason>
<Funcarea>test</Funcarea>
<Bproc>test</Bproc>
</RequestHeaderData>
<RequestedLineItem>
<!--Zero or more repetitions:-->
<item>
<ItemName>test</ItemName>
<Connector>test</Connector>
<ProvItemType>test</ProvItemType>
<ProvType>test</ProvType>
<AssignmentType>test</AssignmentType>
<ProvStatus>test</ProvStatus>
<ValidFrom>test</ValidFrom>
<ValidTo>test</ValidTo>
<FfOwner>test</FfOwner>
<Comments>test</Comments>
<ProvAction>test</ProvAction>
<RoleType>test</RoleType>
</item>
</RequestedLineItem>
<!--Optional:-->
<UserGroup>
<!--Zero or more repetitions:-->
<item>
<UserGroup>test</UserGroup>
<UserGroupDesc>test</UserGroupDesc>
</item>
</UserGroup>
<UserInfo>
<!--Zero or more repetitions:-->
<item>
<Userid>test</Userid>
<Title>test</Title>
<Fname>test</Fname>
<Lname>test</Lname>
<SncName>test</SncName>
<UnsecSnc>test</UnsecSnc>
<Accno>test</Accno>
<UserGroup>test</UserGroup>
<ValidFrom>test</ValidFrom>
<ValidTo>test</ValidTo>
<Empposition>test</Empposition>
<Empjob>test</Empjob>
<Personnelno>test</Personnelno>
<Personnelarea>test</Personnelarea>
<CommMethod>test</CommMethod>
<Fax>test</Fax>
<Email>test</Email>
<Telnumber>test</Telnumber>
<Department>test</Department>
<Company>test</Company>
<Location>test</Location>
<Costcenter>test</Costcenter>
<Printer>test</Printer>
<Orgunit>test</Orgunit>
<Emptype>test</Emptype>
<Manager>test</Manager>
<ManagerEmail>test</ManagerEmail>
<ManagerFirstname>test</ManagerFirstname>
<ManagerLastname>test</ManagerLastname>
<StartMenu>test</StartMenu>
<LogonLang>test</LogonLang>
<DecNotation>test</DecNotation>
<DateFormat>ddmmyyyy</DateFormat>
<Alias>test</Alias>
<UserType>test</UserType>
</item>
</UserInfo>
</urn:GracIdmUsrAccsReqServices>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response
<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>Connector is not configured</MsgStatement>
</MsgReturn>
<RequestId/>
<RequestNo/>
</n0:GracIdmUsrAccsReqServicesResponse>
</soap-env:Body>
</soap-env:Envelope>
Thanks
Riju Bhasker
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is one more concern, as what are the valid values for following tags. I have given sample values, but i am not sure whether those are correct or not.
1) <Reqtype>01</Reqtype>
2) <Funcarea>test</Funcarea>
3) <Bproc>test</Bproc>
4) <ProvAction>test</ProvAction>
5) <RoleType>test</RoleType>
and
<Parameter>
<!--Zero or more repetitions:-->
<item>
<Parameter>test</Parameter>
<ParameterValue>test</ParameterValue>
<ParameterDesc>test</ParameterDesc>
</item>
</Parameter>
So please let me know what can be the correct values for all the above tags.
Thanks
Riju Bhasker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.