0

I have a Rest Service in Visual Studio (C#). Initially it was working . But When I add a new Rest method, solution build is successful. But when we try to call the old REST methods in the project (for example POST) it is giving me 500 internal server error.

In firebug this what I found:

XML Parsing Error: no element found Location: moz-nullprincipal:{73793b55-dcc3-45d3-ae2c-eaeb48dfe0f8} Line Number 1, Column 1:

But if I remove my newly added Rest service method, everything works fine.

Can anyone help me out?

4

1 回答 1

0

可能是客户端和服务器之间的接口不匹配。您是否使用新的方法定义重建了客户端和服务器?

于 2012-07-17T13:34:21.127 回答