[Mono-devel-list] WSDL tool missing

Roland Troisch rolandt at popmultimedia.com
Wed Jun 25 14:07:45 EDT 2003

Is the problem below related to the SimpleWorkerRequest patch problem?

-----Original Message-----
From: Roland Troisch 
Sent: Thursday, June 19, 2003 10:59 AM
To: Gonzalo Paniagua Javier; Mono Development
Subject: RE: [Mono-devel-list] WSDL tool missing

Hi Gonzalo, I updated XSP (and everything else) from CVS (noticed that XSPWorkerRequest was updated) and rebuilt and still received the same timeout.  My environment is Redhat 9 with the latest Mono build from CVS.  I've placed the error output from both the aspx page and xsp below.

In this case, I'm currently more concerned with consuming existing web services rather than creating them.  Here's the simplest test case that I'm wondering if anybody's got working yet.

Create a HelloWorld web service on a machine other than the machine hosting the ASP.NET app.  Currently I'm using VS.NET to do this portion.  Use the MS wsdl tool to generate a proxy class stub for this service.

Move the proxy class to your Mono machine and compile the proxy class in Mono.  Execute HelloWorld() from a Mono ASP.NET page using the compiled proxy class.

Expected results should be a "Hello World" statement output to the page.  
Current Results:  Timeout with the following:

System.Net.WebException: The request timed outin <0x00095> 00 System.Net.HttpWebRequest:GetRequestStream ()in <0x000a7> 00 System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest (System.Net.WebRequest,System.Web.Services.Protocols.SoapClientMessage)in <0x00078> 08 System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest (System.Net.WebRequest,System.Web.Services.Protocols.SoapClientMessage)in <0x000b5> 00 System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])in <0x00075> 08 System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])in <0x00035> 00 SoapTest.Tessitura:HelloWorld ()in <0x00051> 08 SoapTest.Tessitura:HelloWorld ()in <0x00046> 00 ASP.test_aspx:Page_Load (object,System.EventArgs)in <0x0006d> 01 System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.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 <0x001b0> 00 .ExecuteHandlerState:Execute ()in <0x0004e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)

This is the output from XSP during timeout:
Unhandled Exception: System.Net.Sockets.SocketException: Some sort of w32 error occurred: 10054
in (unmanaged) /root/install/install/lib/libmono.so.0(mono_raise_exception+0x20) [0x4008f00f]
in (unmanaged) /root/install/install/lib/libmono.so.0 [0x400ab5bc]
in <0x000e4> 00 System.Net.Sockets.Socket:Receive (byte[],int,int,System.Net.Sockets.SocketFlags)
in <0x000fe> 00 System.Net.Sockets.Socket:Receive (byte[],int,int,System.Net.Sockets.SocketFlags)
in <0x00088> 00 .Worker:Receive ()
in <0x00043> 01 System.MulticastDelegate:invoke_void ()

-----Original Message-----
From: Gonzalo Paniagua Javier [mailto:gonzalo at ximian.com] 
Sent: Thursday, June 19, 2003 9:16 AM
To: Mono Development
Subject: RE: [Mono-devel-list] WSDL tool missing

El jue, 19-06-2003 a las 16:16, Todd Berman escribió:
> I can provide some additional info, as I've been doing some
> investigation into S.W.S and its supporting classes.
> the xsp server for some reason is unable to POST with HttpWebRequest, it
> will just time out while executing GetRequestStream inside of
> HttpSoapClientProtocol.

xsp server was incorrectly sending a HTTP/1.1 in the status line when
answering to a HTTP/1.1 client. I've just committed a fix for this.

> However, mod_mono has no issues POSTing using a proxy dll.
> On a more general note, it seems like S.W.S has most of the
> functionality required to host Web Services. It seems like the most
> important missing component is the WebServiceCompiler and its supporting
> classes inside of the System.Web assembly.

Once that classes needed to make wsdl work are in place, it will be
really easy to add web services support. Let's wait a little bit ;-).


Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list