c# webservice response
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.
精彩评论