Windows Azure存储的Azure资源提供程序的EntityEvent

时间:2013-07-18 12:02:11

标签: .net azure azure-store

我正在实施像https://github.com/MetricsHub/AzureStoreRP这样的azure商店提供商。我也在使用SDK https://github.com/WindowsAzure/azure-resource-provider-sdk。在https://github.com/WindowsAzure/azure-resource-provider-sdk/blob/master/docs/api-subscription.md

上的SDK中有示例请求
<?xml version="1.0" encoding="utf-8"?>
<EntityEvent>
    ...
</EntityEvent> 

样本https://github.com/MetricsHub/AzureStoreRP/blob/master/AzureStoreRP.Data/Contracts/EntityEvent.cs

中有一个带有命名空间的类
    [DataContract(Namespace = "http://schemas.datacontract.org/2004/07/Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement")]
    public class EntityEvent : IExtensibleDataObject
    {
        ...
    }

当我发送sdk sample的请求时,我得到异常

    <ExceptionMessage>Error in line 1 position 14. Expecting element 'EntityEvent'
     from namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement'.. 
     Encountered 'Element'  with name 'EntityEvent', namespace ''.
        </ExceptionMessage>

Microsoft将在暂存中测试我的RP。但我不知道应该使用哪个命名空间。可能有人实施了吗?

0 个答案:

没有答案