Re: Web Service Problem

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 12/16/04


Date: Thu, 16 Dec 2004 12:44:50 -0500

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.
"Sunil Sabir" <SunilSabir@discussions.microsoft.com> wrote in message
news:AC4B5CFD-DFFB-4990-A131-B71795B5ABB5@microsoft.com...
> 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
>
>
>
>
>
>
>


Relevant Pages

  • Re: Run IIS in a domain user context
    ... > If this is IIS 6.0, you need to change the identity of the Web Application ... When I say local machine I mean the server that is hosting IIS ... server side in the context of LocalSystem which I assume the web service ...
    (microsoft.public.inetserver.iis.security)
  • Re: Webservice Security Header error
    ... What happens if we install this windows-based test application to a machine in client company and they try to call the web service through the internet. ... Will they see the same issue if their desktops' time is off by more than 5 minutes than our server time? ... I've also created a Windows Form application which acts as a client to the webservice. ... Before deploying the webservice it resided on my local machine, I tested it here using the local URL as the web reference. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • WSE 2.0, smart client, Username authentication, no x.509
    ... runs SQL server with our database on it. ... server where my web service is ... performing automatic authentication) only works for the local machine (my ... I would prefer to use policy files. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Deploying .NET C# App - Works on my XP box but not our 2003 Server...
    ... > When installed on my local machine it works perfectly, ... but I take the same installer package and put it on my ... > intranet server... ... It looks like the 401 is coming back from the web service. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Web Service Implementation Security Question
    ... Server was unable to process ... CompilerParameters parameters, Assembly assembly, Hashtable assemblies) at ... > As for the security problems regarding on using TypedDAtaset in asp.net ... Web Service Implementation Security Question ...
    (microsoft.public.inetserver.iis.security)