[Mono-list] webserviceclient "spellchecker.aspx" and xsp: request timed out ? !?

Jörg Würzer joerg.wuerzer@ixos.de
Thu, 10 Jul 2003 12:13:15 +0200

hello community,

running system:

redhat 8.0
mono 0.25
mcs 0.25.99 (compiled from cvs 20030710)
xsp (compiled from cvs 20030710)

i'm very interessted in developing web applications / web services. now i've
got some problems using the example from mono handbook. the compiled binary
"spellchecker.exe" works fine and so the command "mono spellchecker.exe
aplication" returns "application". 
no my problem is, that when i run the example aspx listing following
exception occurs:

-----------------------exception begin------------------------------------
System.Net.WebException: The request timed out
in <0x000bd> 00 System.Net.HttpWebRequest:GetRequestStream ()
in <0x000e5> 00
in <0x0008a> 08
in <0x0011c> 00 System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
in <0x001b5> 00 System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
in <0x00075> 08 System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
in <0x00075> 00 .GoogleSearchService:doSpellingSuggestion (string,string)
in <0x00075> 08 .GoogleSearchService:doSpellingSuggestion (string,string)
in <0x00064> 00 ASP.spellchecker_aspx:Page_Load (object,System.EventArgs)
in <0x0006d> 01 System.MulticastDelegate:invoke_void_object_EventArgs
in <0x00084> 00 System.Web.UI.Control:OnLoad (System.EventArgs)
in <0x00031> 00 System.Web.UI.Control:LoadRecursive ()
in <0x000be> 00 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x00191> 00 .ExecuteHandlerState:Execute ()
in <0x0004e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
-----------------------exception end------------------------------------

and the aspx listing looks like:

-----------------------spellchecker.aspx begin---------------------
<%@ Page Language="C#" %>
<script runat="Server">

void Page_Load(object sender, EventArgs e)
	// Your license key
	const string licensekey = "this_is_my_licensekey";

	// Create a Google Search object
	GoogleSearchService Service1 = new GoogleSearchService();

	// Ask for spelling suggestion
	// The first argument is your key
	// The second one, the text the user should enter.
	String suggestion = Service1.doSpellingSuggestion(licensekey,

	// Display the suggestion, if any
	if (suggestion == null)
		Label1.Text = "[No suggestion]";
		Label1.Text = suggestion;


	<h2>Hello WebService!</h2>
	<form runat="server">
		<p><asp:TextBox id="TextBox1"
		<p><asp:Label id="Label1" runat="server"></asp:Label></p>
		<p><input type="submit" value="Submit"
-----------------------spellchecker.aspx end---------------------

does anyone know about that problem. maybe xsp has an error or my system is
configured wrong.

thanks in advance and a nice day, Jörg