Web Service Problem

G

Guest

Dear All,

I have written a Web Service which is called from ASPX file(Web Form). It
works fine on the local machine. On the local machine I am using the
following command

wsdl.exe /l:cs http://localhost/ReturnEvents/Service1.asmx?wsdl

Now I want to use the same service on the Remote Server. What I think is
that the
above path should be changed as it is localhost. So I try to do something
like this

wsdl.exe /l:cs http://www.hop.man.ac.uk/ReturnEvents/Service1.asmx?wsdl

where www.hop.man.ac.uk is the server where I am trying to host my web service

But it does not compile and throws the following error:

There was an error downloading:

http://www.hop.man.ac.uk/ReturnEvents/Service1.asmx?wsdl

The request failed with HTTP status 404: Not Found

I dont know whether I going in a right direction. It works fine on the
client machine
But on the server when I change the path to my server name it throws this
error.I mean we cant use localhost in the wsdl when using Web service on the
REMOTE server. Dont know what to do. Any help would be greatly appreciated.

Cheers,

Sunil Sabir
 
K

Kevin Spencer

Check your spelling. The 404 error indicates that the requested resource
(URL) was not found.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 

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

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top