开发者

Web Service namespace - create a user interface

开发者 https://www.devze.com 2023-01-18 20:49 出处:网络
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

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";
}
0

精彩评论

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