Page 1 of 1

Web service , xml parsing issue

Posted: Wed Oct 12, 2011 11:47 am
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.

Posted: Wed Oct 12, 2011 2:50 pm
by eostic
hard to say, but perhaps your payload grew....and went past the length of the column on the link and got truncated.

Posted: Thu Oct 13, 2011 12:22 am
by sendmkpk
That worked