Hello world Web service question

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,
 
P

Paul

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





Have you created the virtual direcotry as an application..
 
C

CSharper

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,
 
C

CSharper

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,
 
P

Paul

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top