on 09-04-2014 4:09 PM
Hello All,
Can you call an external rest service in SAP MII 14.0 ?
Which action block can be used to do it ?
I saw the JSON to XML convertor block in SAP MII.
But how do I call a REST service in the first place ?
Thanks,
Kiran
Use the HTTP Post action in the Logic Engine under Web.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
I've the same trouble here with MII15.0.
With the http post action block I can solve the authentification, but in the next step, I cannot recieve any data. Actual try is loading xml content after the http post, but I'm getting:Status: 401 - Unauthorized.
I need a solution to receive REST data in one transaction call.
Thank you
Hello Sam
for RESTful communication and also in our application, there is a session information necessary. Normally in MII you cannot create a session with the http post action block. So we have to create a session logic in the JAVA backend and call this "wrapper" for our request during MII.
It seems be no solution to communicate RESTful in MII, I think.
Are this enough details for you?
kind regards
Matthias
Hi Matthias,
For the authentication, you can provide the credentials in the HTTP post action using the credential store.
Can you give more details on what all data you need in the session?
For RESTful communication, each request is supposed to have all the needed information for the service which is possible with POST action block.
Thanks,
Pooja
Hello Pooja
thank you for the reply. Using credentials doesn't help in this case. I've also tried several other variations of using credentials within the http post action block, before I found the explanation about the session behavior. In our used application, there is a session (cookie) necessary, and this cannot be handled by MII obviously.
kind regards
Matthias
Hello all,
Can someone explain to me the solution after 9 years ? please
Thanks,
Anis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
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.