开发者

How do I return a standard name=value while using c# web service

I am creating a few basic web services using c#, and I am trying to have the web service return back just a normal name=value&name=value with开发者_开发问答out any kind of xml or json format. The legacy system hitting these services is fairly old and doesn't support xml or json. Is doing this possible?


If the legacy service that's targeting this web service is that old, how exactly are you calling the web service from it? It may be easier to create an .aspx page (or even better, .ashx) that parses the request and makes the response simply using Response.Write.

If you update your question/add a comment with the detail about how you're calling the service, I'll update my answer accordingly =)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜