Web service , xml parsing issue

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

Moderators: chulett, rschirm

Post Reply
sendmkpk
Premium Member
Premium Member
Posts: 97
Joined: Mon Apr 02, 2007 2:47 am

Web service , xml parsing issue

Post by sendmkpk »

Hi, i am getting this error

Unpack_New_Odr_Response,0: Warning: PAR009_LOD_TMF2CV_Translation.Unpack_New_Odr_Response: XML input document parsing failed. Reason: Xalan fatal error (publicId: , systemId: , line: 89, column: 55): An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected

i looked at previous posts on this, could get to the root of it.

the input to the Web service transfomer is this

StgVarSettings : Char(012) :
"<Document>" : Char(012) : "<GenericTMFDocument>" : Char(012) :
Right(New_Order_In_Seq_3.XML_FINAL_DOC, Len(New_Order_In_Seq_3.XML_FINAL_DOC) - Index(New_Order_In_Seq_3.XML_FINAL_DOC,Char(012),1)) :
"</GenericTMFDocument>" : Char(012) : "</Document>" : Char(012) : "</TranslationRequest>" : Char(012)

which is cooked in a trnsformer stage before it

it is cooked because, we are adding some neccessary settings/key words to it over here.

sth like this

--------->xml stage------->xfm------->Web service------>xml stage

plz guide me on to the right path, if anything wrong.

And by the way, the same job ran sucessfully many times with the same input data,
dont know why its aborting now.
Praveen
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

hard to say, but perhaps your payload grew....and went past the length of the column on the link and got truncated.
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
sendmkpk
Premium Member
Premium Member
Posts: 97
Joined: Mon Apr 02, 2007 2:47 am

Post by sendmkpk »

That worked
Praveen
Post Reply