I need to change 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
A:
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";
}
Hasu
2010-10-01 11:20:50
but sometimes, the view of the webservice page is different. how can I do that?
tugberk_ugurlu_
2010-10-02 09:29:49
do you mean wsdl?
Hasu
2010-10-02 09:38:41