Hello world Web service question

  • Thread starter Thread starter CSharper
  • Start date Start date
C

CSharper

I created the default hello world web service and published it on to
my test web server. I have crated the virutal directory to point to
the hello world web service as well. I enabled the directory browsing
and when I enter the URL upto asmx file I can see all the files
http://localhost/webservices will give me all the files but when I
tried
http://localhost/webservices/services.asmx?wsdl I get 404 error. Could
someone point me to where I am making the mistake. I dropped a simple
html file and when I invoke it it works fine.

Thanks,
 
Do you have Asp.Net installed??? Can you view aspx files??





Have you created the virtual direcotry as an application..
 
Don't "publish"  the site "build"  the site from the VS IDE and then try it,
but first delete every delete all files out of the virtual directory.

I am sorry I didn't understand the answer. My web server is a
different box than the development box. Are you suggesting me not to
publish it to the web server instead build it and then copy files over
to web server?
Thanks,
 
I am sorry I didn't understand the answer. My web server is a
different box than the development box. Are you suggesting me not to
publish it to the web server instead build it and then copy files over
to web server?
Thanks,

Yes, copy the files and see if it works.- Hide quoted text -

- Show quoted text -

Thanks and I copied over and it didn't work, so I went to try regular
'hello world' aspx file as metioned before and that also came back as
404. But when I drop a htm file and see it it shows fine. I checked
and it has asp 2.0 installed and it is set as a default as well. I am
sure something very simple is missing but I can not get it working.
Thanks,
 
I refer you back to my questions above....



Mr. Arnold said:
Thanks and I copied over and it didn't work, so I went to try regular
'hello world' aspx file as metioned before and that also came back as
404. But when I drop a htm file and see it it shows fine. I checked
and it has asp 2.0 installed and it is set as a default as well. I am
sure something very simple is missing but I can not get it working.
Thanks,

<reply>

Well, it kind of sounds like this IIS Web server doesn't know what an
.asmx
file type is. Has a Web service ever been ran from that test machine
before? Has a MIME been setup in IIS so that it knows what a .asmx file is
and what it is suppose to do with it?
 
Back
Top