WebService Returns Black Page When Invoking

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

  1. #1

    Default WebService Returns Black Page When Invoking

    Hi Everyone!

    I am working on a project for a directed study class and am having
    problems with webservices.

    I have .NET Framework version 1.1.4322.573 with IIS and Frontpage
    Extensions installed and Visual Studio 2003. These are all a fresh
    install as I removed and re-installed to try and fix the problem to no
    avail.

    What Happens
    ============
    In Visual Studio I can create a new Web Service project, say
    WebService1, and all is created fine on IIS. I then open the default
    file created by Visual Studio (service1.asmx) and uncomment the "Hello
    World" web service.

    [WebMethod]
    public string HelloWorld()
    {
    return "Hello World";
    }

    I can then browse to [url]http://localhost/WebService1/service1.asmx[/url] and
    click the link for the web method HelloWorld. I then click the Invoke
    button.
    A new window opens and it is blank, there is nothing there. On 1 other
    machine I have seen this work on campus where XML was returned with the
    "Hello World" text in it, but not here. When I try to view source in
    Internet Explorer the text for "Source" in the view menu is grayed out.

    On 2 machines I have tried to get this to work and I get the same
    result. I really do not know where to go.

    I am writing an Instant Messenger app for C# and Web Services but I am
    at a wall here where I can't move further until I can get the web
    services to respond.

    Thanks in advance for any help you can send my way!

    -David R Underwood
    drunderw AT presby.edu

    David Guest

  2. Similar Questions and Discussions

    1. Problems invoking a NuSOAP WebService
      ---------------------- ws.php ---------------------- <?php require_once("nusoap.php"); define("NAME_SPACE","urn:Foo"); // Instantiate and...
    2. Java code invoking a CF Webservice
      Does anybody have an example of Java code invoking a CF Webservice? We have a Java class the invokes various webservices (Microsoft, Amazon, UPS,...
    3. Invoking Java WebService using Object as Parameter
      Hopefully someone can help me out here. I am trying to call a web service which is expecting a java object'. ColdFusion is having difficulty...
    4. Invoking WebMethods WebService Issue
      Hi All, I'm trying to create a .NET client to consume a webMethods web service. Based on the wsdl file given by you I've generated a .NET proxy...
    5. Exception when invoking axis webservice from c#
      have you resolved this? if not, a couple of other questions for you: 1. what version of AXIS are you using? v1.1 was just released in June, and...
  3. #2

    Default Re: WebService Returns Black Page When Invoking

    Ok so I decided to load it in Mozilla instead of IE and Mozilla
    displayed it but with an error: At the top of the page it reads:

    "This XML file does not appear to have any style information associated
    with it. The document tree is shown below."

    Below it is:
    <string>Hello World</string>

    What does this mean?

    David Guest

  4. #3

    Default Re: WebService Returns Black Page When Invoking

    [url]https://blogs.msdn.com/ie/archive/2005/05/25/421763.aspx[/url]

    Apparently installing Netscape 8 will kill Internet Explorer's ability
    to render XML. See the link above.

    -David

    David 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