RE: Referencing web service

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dan Rogers (danro_at_microsoft.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 01:18:00 GMT

Hi John,

Copying the files to the default folder won't quite do the trick. The
applicaiton settings for the default folder aren't set up for the ASP.NET
subsystem.

Try opening your solution from Visual Studio, and then from the File menu,
choose the Publish Web Service option. This launches a tool that takes you
thru the process of selecting a server, creating a new VROOT for that
service, and then deploying the files needed by your service.

Hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>From: "John" <john@nospam.infovis.co.uk>
>Subject: Referencing web service
>Date: Fri, 16 Jul 2004 18:51:23 +0100
>Lines: 15
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <ucKXj31aEHA.1656@TK2MSFTNGP09.phx.gbl>
>Newsgroups:
microsoft.public.dotnet.framework.aspnet.webservices,microsoft.public.dotnet
framework.webservices
>NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.webservices:5821
microsoft.public.dotnet.framework.aspnet.webservices:24630
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
>Hi
>
>I have just uploaded my first web service to a remote host. So I am very
new
>to this. I am now trying to reference the ws by putting the ws url
>(http://mydomain.com/myapp/myappws/appWS.asmx) in the add web reference
>dialogue, When I click go, instead of the client app getting the reference,
>I get a download dialogue asking to download file appWS.asmx of type
>VISUALSTUDIO.ASMX.1.1. What should I do from here to get the reference of
>the web service?
>
>Thanks
>
>Regards
>
>
>



Relevant Pages

  • Re: Dataset retunring Null ..a gurus opinion required!
    ... Dim estateOleAdapter As New OleDbDataAdapter ... and updated the service reference in the client..but the same exception is ... toolbox to the design area to establish the connection. ... To ensure that my web service is well connected to my Access database, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: WinForms and WebServices
    ... I appreciate you taking the time to review my question and answers but you're focusing on the wrong thing and completely missing the point. ... To be able to use the methods and properties of the service I HAVE TO add a web reference to the service in the application references and the VS guide that helps you doing that has to be able to access the service itself to list it's methods and properties. ... So I cannot add the web reference and thus I cannot create a web service object instance and use the web service methods and properties in the app. ... I suppose I could install a "dummy" service on my own web server and reference that. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WinForms and WebServices
    ... When that is installed your program can reference to that. ... I'm aware of the security problems that can arise with this kind of an arrangement, but I can assure you that a web service IS needed for the purpose. ... But that doesn't answer my question of how I write the code and compile the app when the compiler has no reference to "consult". ... I suppose I could install a "dummy" service on my own web server and reference that. ...
    (microsoft.public.dotnet.languages.vb)