Read PublishXml using credential.