I am using my MSDN Azure subscription to try to publish a Java web site using Eclipse. I have installed the Azure SDK v2.6 and the Azure plug-in for Eclipse v0.2.0.201506041823. As part of the deployment set-up, I need to import my Publish-Settings file. I have downloaded the publish profile from the Azure portal. When I import the publishsettings file, I am getting this error: Importing filename file failed. Reason: Failed to parse file. Ensure publish settings file is valid.
Any idea what I am missing? I appreciate any suggestions.


Please try to use Import-AzurePublishSettingsFile command in powershell to import your publish settings file, refer to https://msdn.microsoft.com/en-us/library/dn385850(v=nav.70).aspx for more details, if you could get your subscription information, this issue maybe related to your java environment, else, please re-download the publish settings file.