on 02-24-2017 4:05 PM
Hello All,
We are trying to acess the REST API generateNextPersonID in Suceess Factors .How to configure the below artifact. I have given the SF url , Client ID as user@company fromat and client secret as pasword.But it is not working.Please help.
Regards,
Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sriprasad,
Your are correct .I tried last day and it is working .I was using // after http and it is affecting the employee id generation.
https://address:port/http//Kenexa
I just kept single slash as below and started working for me.
https://address:port/http/Kenexa
Regards,
Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi - I am getting the same error above.. and I am using single slash only..but still getting the same error.
My flow is as below.
Content Modifier - I have set the Header where I have set the Authorization
and Calling the odata url to fetch the data..but I get the error message as
cause: org.apache.camel.RuntimeExchangeException: Cannot analyze the Exchange.HTTP_PATH header, due to: cannot find the right HTTP_BASE_URI on the exchange
Any pointers on the above error Message ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sriprasad,
I was able to generate the employee numbers as you have suggested.Below are working scenarios.
1.I am using time event and triggering the flow, it is working
2.I am using sender SOAP adpater and calling from SOAP UI, It s working
But, recently the requurement have been changed and client is going to send the payload using HTTP Post to HCI .So I have now HTTP sender as adpater.Recenlty we had a test from client system ( client is sending data via HTTP Post) and we are facing issue on employee number generation.I am not understanding why it is affecting.
To replicate that I used Postman ( an add on tool in Chrome for HTTP Post) and I am facing the same issue. Nothing got changed and everying is similar as it is , but facing the issue,
Please help with issue urgenlty.I am unbale to find out the cause, becuase functionaly everying the same , only the triggerung point changed. 😞
HTTP
Error -
org.apache.camel.CamelExchangeException: Error creating URL. Exchange[ID-vsa2156378-ash-od-sap-biz-34252-1493463727958-262-6]. Caused by: [org.apache.camel.RuntimeExchangeException - Cannot analyze the Exchange.HTTP_PATH header, due to: Cannot analyze the Exchange.HTTP_PATH header, due to: cannot find the right HTTP_BASE_URI on the exchange: Exchange[ID-vsa2156378-ash-od-sap-biz-34252-1493463727958-262-6] on the exchange: Exchange[ID-vsa2156378-ash-od-sap-biz-34252-1493463727958-262-6]], cause: org.apache.camel.RuntimeExchangeException: Cannot analyze the Exchange.HTTP_PATH header, due to: cannot find the right HTTP_BASE_URI on the exchange: Exchange[ID-vsa2156378-ash-od-sap-biz-34252-1493463727958-262-6]
SOAP
Regards,
Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sriprasad,
Thanks a lot..
Really helped all you suggestions.Looking forward your help in future as well.
Regards,
Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sriprasad,
Thanks a lot Sriprasad 🙂 .I tried similar as you have mentioned.After configuring I got 401 instead of 411 which I was facing before..
I was using the below credential with successfactors check box ticked. So I created a new credential for HTTP call without ticking the check box .It worked.
Below is the response.
1 more basic question here, How do i set this person id generated to a content modifier property.I have doubt to mention the xpath .
Regards,
Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sriprasad,
Thanks for your quick help.
I have maintained the header parameter in content modifier as you have suggested , but it is showing error log to maintain content-length.
So I have I have maintained the content length, content type as per below screen shot and tried , but same error am facing eventhogh i maintained content length. I have set the content- length to other digits as well and tried .Required your valubale help.
I have tried in REST full services ( chrome add on ) and I am able to get the response.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Also Please find the test I have tried as per below .Kindly suggest.
Regards,
Tibin Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello SriPrasad,
I have tried as you have suggested, but I am facing below error.
Can you please what's going wrong.
Message processing failed.
org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://url of SF/odata/v2/generateNextPersonID with statusCode: 411
Can you explain what is the below:
Make sure there is no data ( incoming data ) coming to this external call( You have to set it to null)
Regards,Tibin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tibin,
You can use HTTP Receiver adapter with below Query.
https://SF-URL/odata/v2/generateNextPersonID
Make sure there is no data ( incoming data ) coming to this external call( You have to set it to null)
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.