Referencing web service

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Referencing web service

    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
    ([url]http://mydomain.com/myapp/myappws/appWS.asmx[/url]) 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


    John Guest

  2. Similar Questions and Discussions

    1. Best Practice for referencing datasets with web service
      Hello All, I have an application that uses several layers as such: a Client that references a ClientHelper a ClientHelper references a...
    2. Problem referencing web service
      Hi I am trying to get web reference to my first (!) web service which is on a remote host. I am getting the following error; Server Error in...
    3. WEb Service Referencing Session
      Is it possible to reference session within a web service or is session completely out of scope? I have imported system.web.httpContext into the...
    4. Referencing web service complex data type within a second web service (like a delegate)
      Hi, I am trying to figure out if ASP.NET XML Web Services and the WSDL standard can handle this type of scenario: I have two web services, and...
    5. Referencing Objects using 'This'
      Here is my problem i have a class called test and in that class I have a function called loadxml. So it looks something like: class test { var...
  3. #2

    Default Re: Referencing web service

    Well I just copied the files in a subfolder under the main asp site. The asp
    main site works.

    Regards


    "John Jenkins" <john_Jenkins@yahoo.com> wrote in message
    news:PGWJc.286$qS6.145@newsfe1-win.ntli.net...
    > Is the web service installed in IIS?
    >
    > "John" <john@nospam.infovis.co.uk> wrote in message
    > news:ucKXj31aEHA.1656@TK2MSFTNGP09.phx.gbl...
    > > 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
    > > ([url]http://mydomain.com/myapp/myappws/appWS.asmx[/url]) 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
    > >
    > >
    >
    >

    John Guest

  4. #3

    Default Re: Referencing web service

    Is the web service installed in IIS?

    "John" <john@nospam.infovis.co.uk> wrote in message
    news:ucKXj31aEHA.1656@TK2MSFTNGP09.phx.gbl...
    > 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
    > ([url]http://mydomain.com/myapp/myappws/appWS.asmx[/url]) 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
    >
    >

    John Jenkins Guest

  5. #4

    Default Re: Referencing web service

    Try use "aspnet_regiis.exe -i" command.

    "John" <john@nospam.infovis.co.uk> сообщил/сообщила в новостях следующее:
    news:#8tBKv2aEHA.1248@TK2MSFTNGP11.phx.gbl...
    > Well I just copied the files in a subfolder under the main asp site. The
    asp
    > main site works.
    >
    > Regards
    >

    Kondratyev Denis Guest

  6. #5

    Default RE: Referencing web service

    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.webservic es,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!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
    8.phx.gbl!TK2MSFTNGP09.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.webservices:5821
    microsoft.public.dotnet.framework.aspnet.webservic es:24630
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >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
    >([url]http://mydomain.com/myapp/myappws/appWS.asmx[/url]) 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
    >
    >
    >
    Dan Rogers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139