开发者

Programmatically create WSDL from metadata

How can I override the way ASP.NET c开发者_开发技巧reates a WSDL file for my Web Serive from my WebMethods' metadata?


You cannot control this very much. You can control the shape of the XML request and response by using attributes like [XmlElementAttribute]. You can control the name and namespace of the request and response with the [WebMethod] attribute.

What are you trying to accomplish?


Mark your class with the attribute [XmlSchemaProvider] as shown here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜