on ‎2018 Jan 18 4:21 PM
Hi guys,
I have an issue while trying to call SFAPI operations via SAP PO.
We have not installed the add ons for SuccessFactors, as we can't do that at the moment. So I tried to build up the scenario by myself with the SOAP Axis adapter. But I'm getting the error "Invalid SFAPI session" when trying to call a query.
This is my scenario:
I have an ABAP program, that calls the login operation at first to retrieve a sessionID. I have used the ordinary SOAP Receiver adapter to call SF and it works fine --> In the ABAP program I get the session id.
The next step is the query scenario call, that comes as the next step in the same program after the login. In that call I'm sending the sessionID and the query string via proxy to SAP PO. In the mapping I'm putting the session ID into the dynamic configuration and used the SOAP Axis Receiver Adapter to call the SFAPI with the query operation.
Unfortunately this throws the error message. My config is the following:

First I thought there might be an issue here, but I did the following to verfiy:
Run the ABAP program until I receive the sessionID from the login operation call. Copy this sessionid and call the query operation from SoapUI in the http header:
Name: Cookie
Value: JSESSIONID=myid
This doesn't work either! So that means I can't do it manually either.
Any ideas what I do wrong?
Thank you very much!
Request clarification before answering.
Hello Arne,
Check the cookie length. It could be more than 80 which could be one of the reason for this issue.
If you find it to be more than 80 try mapping the session ID directly from the response in the mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No ideas anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.