.Net Web Service 自定义返回值命名_xml

 

 

[WebMethod]
[return: System.Xml.Serialization.XmlElementAttribute("header")]
public ResponseMsgHeader GetXXX(RequestMsgHeader header, List<BodyPlan> body) {}