Problem with Web service Header when we use Datastge

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
srinivas143
Participant
Posts: 30
Joined: Tue Feb 19, 2008 11:02 pm

Problem with Web service Header when we use Datastge

Post by srinivas143 »

Hi All,

We have a requirement to call the webservice to extract data using datastage.

We are not able to generate header from the datastge which webservice can accept.

But when we comment the header in the webservice I am able to extract the response from the service.....

Any help...how to generate the header using datastge with either webservice client and transformer stages??


Kind Regards
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Just hard code it initially (take a sample and cut/paste it as a literal string in a Transformer beforehand, in a column called "myHeader") and pass it into the WSTransformer where you can specify the header "column". If that works then you can get fancier and build up the header as needed dynamically.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply