Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WebService Returns Black Page When Invoking

Thread Tools

WebService Returns Black Page When Invoking

Posts: n/a
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

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.

public string HelloWorld()
return "Hello World";

I can then browse to http://localhost/WebService1/service1.asmx and
click the link for the web method HelloWorld. I then click the Invoke
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

Reply With Quote
Posts: n/a
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?

Reply With Quote
Posts: n/a

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


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: IllegalArgumentException when invoking axis2-webservice withclient Lew Java 1 02-17-2008 12:53 AM
IllegalArgumentException when invoking axis2-webservice with client MC Java 0 02-16-2008 06:42 PM
Problem invoking a Webservice with Eclipse! Java 0 06-26-2007 09:33 AM
web service returns blank page when invoking David ASP .Net 10 07-27-2005 08:41 PM
Efficient way of dynamically invoking a method that returns a primitive type? Andreas Jakobik Java 3 12-09-2004 09:02 PM