Hierarchical stage: Calling RESTful service with BASIC auth
Posted: Thu Aug 30, 2018 7:34 am
How to call RESTful webservice with BASIC auth from DataStage?
I tried to do it - specify BASIC auth in DataStage Hierarchical Stage but it does not send the header. I see in webservice log following:
I tryed the same in Pentaho and it works well:
So "authorization": "Basic Qy1ORUhQOD ......" is missed.
Any links or troubleshooting info?
I tried to do it - specify BASIC auth in DataStage Hierarchical Stage but it does not send the header. I see in webservice log following:
Code: Select all
Starting testGet method...
host = x.x.x.x:8080
connection = Keep-Alive
user-agent = HTTP Step
Code: Select all
Starting testGet method...
authorization = Basic c2Rmc2Q6YXNkYXNk
user-agent = Jakarta Commons-HttpClient/3.1
host = x.x.x.x:8080
So "authorization": "Basic Qy1ORUhQOD ......" is missed.
Any links or troubleshooting info?