I need to ch开发者_开发技巧ange the namespace of webservice but I guess the namespaces are urns not urls. So how can I asign a custom namespace for web service so that I can use a custom interface as well. Such as logo fo our company. thanks
Sorry, this may be wrong answer, and you do not need to match urns or urls with namespaces.
[WebService(Namespace = "yourXmlWebServiceNamespace")]
or
[WebService(Namespace = yourclass.XmlWebServiceNamespace)]
class yourclass
{
public const string XmlWebServiceNamespace = "http://www.abc.com";
}
精彩评论