camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AmritaVijayKulkarni <amrita.maliha...@target.com>
Subject Error while Parsing xml file.
Date Thu, 23 Jun 2016 09:52:41 GMT
Hello All,

I am new to the Camel World. I have started working on it recently and I am
getting the below error while parsing xml file.


Exchange
---------------------------------------------------------------------------------------------------------------------------------------
Exchange[
	Id                  ID-HB0QXX1-55394-1466675480340-0-26
	ExchangePattern     InOnly
	Headers             {Accept=application/xml, Accept-Ranges=bytes, Age=0,
breadcrumbId=ID-HB0QXX1-55394-1466675480340-0-1, CamelFileAbsolute=false,
CamelFileAbsolutePath=C:\Users\z065907\IdeaProjects\IDL-MusicLoader\IDL-MusicLoader\src\data\isbn.txt,
CamelFileContentType=text/plain, CamelFileLastModified=1466666540260,
CamelFileLength=35, CamelFileName=isbn.txt, CamelFileNameConsumed=isbn.txt,
CamelFileNameOnly=isbn.txt, CamelFileParent=src\data,
CamelFilePath=src\data\isbn.txt, CamelFileRelativePath=isbn.txt,
CamelHttpMethod=POST, CamelHttpResponseCode=200, CamelHttpResponseText=OK,
CamelHttpUri=http://appsvr.aent.com/api/prodinfo?apikey=f6bb0052-f915-e611-80ea-005056824dd0,
CamelRedelivered=false, CamelRedeliveryCounter=0, Connection=Keep-Alive,
Content-Length=855, Content-Type=application/xml; charset=utf-8, Date=Thu,
23 Jun 2016 09:51:30 GMT, isbn=, Pragma=no-cache,
Set-Cookie=TS01de5136=017a3de8bc02f93d98dd35d0b7b4c164b97959e27c030fad233cbbe2015dbe4a990c0765cd1f10d661e98396d12654743eaf17b910;
Path=/, Surrogate-Control=content="ESI/1.0",no-store,
X-AspNet-Version=4.0.30319, X-Powered-By=ASP.NET,
X-Target-Proxy=Transparent-PXYSGI02, X-WebServer=ALLFLWS2}
	BodyType            String
	Body                
]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
net.sf.saxon.trans.XPathException: Error reported by XML parser: Premature
end of file.







--
View this message in context: http://camel.465427.n5.nabble.com/Error-while-Parsing-xml-file-tp5784346.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message