BadRequest in createDeployment
Brought to you by:
yvesyang
Rest service returns BadRequest when CreateDeployment method is called.
-----
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Code>BadRequest</Code>
<Message>The specified configuration settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
</Error>
-----
When I decorded the encording Configuration, BOM was included in the head.
Therefore, Create Deployment succeeded when ServiceConfiguration.cscfg that deleted BOM was used.
Is this a bug?
I also deployed a package which is created using Windows Azure SDK 1.3, through deployment API of Windows Azure SDK for Java developers, and found out that it returned Bad Request(400). Windows Azrue SDK 1.3 adds BOM (0xEF, 0xBB, 0xBF) at the beginning of ServiceConfiguration.cscfg. It seems to me that the reason of Bad Request is that. Could you please confirm this?