Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net Windows Azure应用商店的Azure资源提供程序的EntityEvent_.net_Azure_Azure Store - Fatal编程技术网

.net Windows Azure应用商店的Azure资源提供程序的EntityEvent

.net Windows Azure应用商店的Azure资源提供程序的EntityEvent,.net,azure,azure-store,.net,Azure,Azure Store,我在这里实现azure应用商店提供商。我也在使用SDK。上的SDK中存在示例请求 当我发送sdk示例的请求时,我得到异常 <ExceptionMessage>Error in line 1 position 14. Expecting element 'EntityEvent' from namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Cis.DevExp.Services.Rdfe.Serv

我在这里实现azure应用商店提供商。我也在使用SDK。上的SDK中存在示例请求

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

    <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>
第1行第14位出现错误。应为元素“EntityEvent” 从名称空间'http://schemas.datacontract.org/2004/07/Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement'.. 遇到名称为“EntityEvent”、命名空间为“”的“元素”。
Microsoft将在暂存中测试我的RP。但我不知道应该使用哪个名称空间。可能是某人实现了它?

名称空间名称是正确的。您是否有一个最短的代码片段来显示您到底是如何发送请求的?我是从Dev Http(googlechrome扩展)发送的,它附带了一个xml文件,其中包含没有名称空间的实体事件。与源代码示例不同的SDK存在问题。当我使用这个cs文件并在xml中设置显式名称空间时,效果非常好。但在SDK中并没有设置显式名称空间。你们说的SDK是什么意思?。这里有一些请求的描述,这些请求将被发送到我试图实现的服务中。“SDK”相当不完整-您最好还是坚持MetricsHub的示例的工作方式。
    [DataContract(Namespace = "http://schemas.datacontract.org/2004/07/Microsoft.Cis.DevExp.Services.Rdfe.ServiceManagement")]
    public class EntityEvent : IExtensibleDataObject
    {
        ...
    }
    <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>