W
Web Team @ Borough of Poole
Hi,
I am trying to create a new web service. In VS.Net 2003, I create a
fresh project using the web service template. I start with the hello
world example, un comment the relevent code, so I am left with:
<WebMethod()> _
Public Function HelloWorld() As String
Return "Hello World"
End Function
I then build it, and view service1.asmx in a browser, and I get the
standard error, advising me to turn off custom errors. So I do as it
says, and change my web.config file to read:
<customErrors mode="Off" />
I then tried again, and I keep getting the same standard error,
advising me to turn of customerrors.
I have a working web service which I built some time back, in the same
way on the same server.
I have recently installed WSE 2.0 (Web Service Enhancements) - Could
this be the problem? I thought these only took effect if you switched
them on?
Help! :-(
I am trying to create a new web service. In VS.Net 2003, I create a
fresh project using the web service template. I start with the hello
world example, un comment the relevent code, so I am left with:
<WebMethod()> _
Public Function HelloWorld() As String
Return "Hello World"
End Function
I then build it, and view service1.asmx in a browser, and I get the
standard error, advising me to turn off custom errors. So I do as it
says, and change my web.config file to read:
<customErrors mode="Off" />
I then tried again, and I keep getting the same standard error,
advising me to turn of customerrors.
I have a working web service which I built some time back, in the same
way on the same server.
I have recently installed WSE 2.0 (Web Service Enhancements) - Could
this be the problem? I thought these only took effect if you switched
them on?
Help! :-(