. Is the开发者_如何学Pythonre a way I can change the webservice so it wont inc" />
开发者

c# webservice response

开发者 https://www.devze.com 2022-12-27 17:44 出处:网络
I have a small web service that returns an xml. at the top of the xml it says: ?xml version=\"1.0\" encoding=\"utf-8\" ?> . Is the开发者_如何学Pythonre a way I can change the webservice so it wont inc

I have a small web service that returns an xml. at the top of the xml it says: ?xml version="1.0" encoding="utf-8" ?> . Is the开发者_如何学Pythonre a way I can change the webservice so it wont include this line in the response?

TY


It is usually good practice to keep this header. Is there a particular reason you don't want it?


Not if you keep using the webservices classes.

Moreover imho it would make absolutely no sense to remove the xml header.

0

精彩评论

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