on ‎2017 Aug 16 2:15 PM
Hi,
I try to call a SOAP-webservice that use a HTTP-header-entry instead of Basic-Authentification. Is there a possibility to put this entries to the request? Or any other ideas to do that in MII 15.1?
best regards
Kay
Request clarification before answering.
It's possible with both the HTTP Post and Web Service based actions via the Link Editor. In the action "Configure Links" and in the list for the incoming link for the action will be a property called RequestHeader and it's a type of map. To add a property to the request header link in the following expression into this property: put(emptymap, "Name", "Value")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Salvatore Castro ,
Good Day !
I am working on a requirement where I need to pass authentication Token in HTTP Header field Authorization using HTTP Post Action Block. And the service is REST Service. And the Rest API is GET Method api.
Authorization is a HTTP Request Header's field used to authenticate the HTTP Request.
I need to pass the token in header as Authorization: Bearer <Token>
In HTTP Post Action block, there is a property called as RequestProperty of type map. There is no property called as RequestHeader though.
I tried to create a map as you mentioned put(emptymap, "Authorization", "Bearer <token>") and linked it to RequestProperty map field.
But this seems to give error as Authorization denied.
Please suggest any solution or idea that i am missing out on.

Best Regards,
Anshul Arora
You can check the below link:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anshul .. were you able to find a solution ? I have a requirement to pass few parameters in the header as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.