Problem with Webservice transformer

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Problem with Webservice transformer

Post by dganeshm »

JOB DESIGN
DATA IN SEQUENTIAL FILE

The output from the first Webservice transformer is a complex xml.

<header>
<Plusdcu>
<element1/>
<element2/>
<element3>
<element31/>
<element32/>
<element33/>
<element3/>
</Plusdcu>
</header>

but what I am getting in the output of the webservice transformer is

<header>
<Plusdcu>
<element1/>
<element2/>
<element3>value of element31 value of element32 value of element33<element3/>
</Plusdcu>
</header>

Everything is concatenate , there are multiple child tags which have their own tags but all the values of the child are combined together as value for the parent tag.

Any help is appreciated..
[/url]
Regards,
Ganesh
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Not sure I understand the problem (you mention two WStransformers), but one suggestion I have is to create a test version of you job that captures only the soap body at the output side of your WSTransformer.

Edit the job and delete the immediate downstream stage from the Transformer....keep the link.

Put on a sequential Stage. If this is a server job, put '000' in the delimiter and the quote character....if EE, use none for both properties.

In the link, delete whatever columns are there and just have one large column (such as "mySOAPoutput" with datatype of longvarchar and length of say, 9999). Put a single slash in its Description property. In the WSTransformer, at the "message" tab for the output link, find the pull down for user-defined message. Choose this single column.

In there you should get your whole soap body as presented in the soap envelope that was sent to DataStage. It should help you in your debugging.

Ernie
Ernie Ostic

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