E
Erik Cruz
Hi.
VS.NETO help says the following about the webservice attribute:
"The WebServiceAttribute is not required for an XML Web service to be
published and executed. You can use the WebServiceAttribute to specify a
name for the XML Web service that is not restricted by the rules for a
common language runtime identifier, which is used in the service description
and the Service help page for the XML Web service."
I removed the WebService attribute from a web service I am writing, since
the help says that it is not necessary. When I run the web service I noticed
that the http://tempuri.org namespace was used automatically. I believe
then, that the WebService attribute is necessary. What is the real role of
this attribute? What kind of problems I may have if my web service does not
have a namespace?
TIA,
Erik Cruz
VS.NETO help says the following about the webservice attribute:
"The WebServiceAttribute is not required for an XML Web service to be
published and executed. You can use the WebServiceAttribute to specify a
name for the XML Web service that is not restricted by the rules for a
common language runtime identifier, which is used in the service description
and the Service help page for the XML Web service."
I removed the WebService attribute from a web service I am writing, since
the help says that it is not necessary. When I run the web service I noticed
that the http://tempuri.org namespace was used automatically. I believe
then, that the WebService attribute is necessary. What is the real role of
this attribute? What kind of problems I may have if my web service does not
have a namespace?
TIA,
Erik Cruz