.net Windows Azure应用商店的Azure资源提供程序的EntityEvent
我在这里实现azure应用商店提供商。我也在使用SDK。上的SDK中存在示例请求 当我发送sdk示例的请求时,我得到异常.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
<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>