Question
American Express
IN
Last activity: 19 May 2016 2:33 EDT
How do we authenticate Service requestor which is to be authenticated by BASIC authorization?
How do we authenticate Service requestor which is to be authenticated by BASIC authorization
What names to be used as header parameter for REST or SOAP request header?
How do we map it and pass to basic authentication process?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Hi Anand.
See this: https://www.soapui.org/soap-and-wsdl/authenticating-soap-requests.html
PEG
PL
Hi Anand,
If you are talking about the service package which has Authentication Type as "Basic", then you need to pass the username and password of the user who has the access to that access group.
You dont need to pass that as header. If this requires authentication, then you would get the pop up and if you give that username and password, it will work.
If you are using a soapUI, then you have separate request param tab.
In case if you use pega connector, you could setup in the connector form.
Let me know if I am missing something.
American Express
IN
I am trying to invoke service created in Pega from a Java application. which tag should have username and password
Pegasystems Inc.
CA
You need to pass user credentials in the Authorization HTTP header. The value of this header must be of the form:
Basic base64Encoded(username:password)
It means, if username is foo and password is bar, you need to get base64 encoded equivalent of foo:bar which is Zm9vOmJhcg==
The value you set to Authorization header will then be:
Basic Zm9vOmJhcg==
American Express
IN
Thanks Praneeth
American Express
IN
Hi Praneet,
HTTP header information was very helpful.
Just wanted to check if there is a way to pass these values in header of SOAP or REST. if yes what header names and how it should be mapped in request header mapping of service.
Accepted Solution
Hi Anand.
See this: https://www.soapui.org/soap-and-wsdl/authenticating-soap-requests.html
American Express
IN
Thanks Vipin .