Re: [Mono-dev] Regressions.
Hi, Miguel de Icaza [EMAIL PROTECTED] writes: Your recent changes to the MBas compiler introduced a bunch of regressions that are breaking the automated tests. Please revert those patches and fix the build. Test/ArithmeticOperators1.vb(28,1) error BC2: Parsing error Test/ArithmeticOperators2.vb(28,1) error BC2: Parsing error Test/ArithmeticOperators3.vb(24,1) error BC2: Parsing error Actually, I don't think these were caused by the recent mbas checkin. A recent patch by Marek caused mcs to mis-compile mbas, which leads to these errors. Marek has fixed this bug (in SVN r51349, I think), and the buildbot is back to green. - Hari ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Thanks for your reply. I'm using mono-1.1.8.20050824 which seems to be the last version that compile and don't break my web app. Actually, i'm looking for a way to generate test pages for my web services (like the one available when writing a asmx file). I need a tool that read a WSDL and generate those or that page. Anyone knows about such a tool ? Johann Atsushi Eno a écrit : Hi, There was a bug that blocked WSDL processing, which I fixed yesterday. So if you were trying mono/mcs from svn, please try the latest svn. Atsushi Eno Johann BLAIS wrote: Hello, I've created a webservice named General and generated the wsdl file using gSoap. I generated the proxy with the wsdl tool. I want to test it using DefaultWsdlHelpGenerator.aspx. So i wrote a simple index.asmx containing %@ WebService Class=General % I put the compiled DLL into the bin directory, and then try to access the page http://myserver/index.asmx I end up with this : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x00375 System.Web.Services.Description.ProtocolReflector:ImportBindingContent (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0010e System.Web.Services.Description.ProtocolReflector:ImportBinding (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Description.Service service, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0014d System.Web.Services.Description.ProtocolReflector:ImportService (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url) in 0x00135 System.Web.Services.Description.ProtocolReflector:Reflect (System.Web.Services.Description.ServiceDescriptionReflector serviceReflector, System.Type type, System.String url, System.Xml.Serialization.XmlSchemaExporter xxporter, System.Xml.Serialization.SoapSchemaExporter sxporter) in 0x000b8 System.Web.Services.Description.ServiceDescriptionReflector:Reflect (System.Type type, System.String url) in 0x0004b System.Web.Services.Protocols.SoapDocumentationHandler:GetDescriptions () in 0x00031 System.Web.Services.Protocols.SoapDocumentationHandler:ProcessRequest (System.Web.HttpContext context) in 0x0001a System.Web.Services.Protocols.SessionWrapperHandler:ProcessRequest (System.Web.HttpContext context) in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute () in 0x0007a System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync) Anyone knows if i am doing something wrong or if it is a bug ? Many thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
(Sorry forgot to reply all :-) ) Hi. If you are talking about the page which IIS sends back when you call the asmx file, then the mono mod_mono_server also does this every bit as well, giving back all the infomation which IIS sends to you. Take a look at http://www.tendotzero.com/edrmsService/edrms.asmx It will show you the default view from the mod_mono_server for a web service. Cheers Simon -- Simon Bain TENdotZERO Mobile: 07793 769 846 Office: 0845 056 3377 - 44 (0) 1234 359090 Fax:44 (0) 208 882 9411 quote who=Johann BLAIS Thanks for your reply. I'm using mono-1.1.8.20050824 which seems to be the last version that compile and don't break my web app. Actually, i'm looking for a way to generate test pages for my web services (like the one available when writing a asmx file). I need a tool that read a WSDL and generate those or that page. Anyone knows about such a tool ? Johann Atsushi Eno a écrit : Hi, There was a bug that blocked WSDL processing, which I fixed yesterday. So if you were trying mono/mcs from svn, please try the latest svn. Atsushi Eno Johann BLAIS wrote: Hello, I've created a webservice named General and generated the wsdl file using gSoap. I generated the proxy with the wsdl tool. I want to test it using DefaultWsdlHelpGenerator.aspx. So i wrote a simple index.asmx containing %@ WebService Class=General % I put the compiled DLL into the bin directory, and then try to access the page http://myserver/index.asmx I end up with this : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x00375 System.Web.Services.Description.ProtocolReflector:ImportBindingContent (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0010e System.Web.Services.Description.ProtocolReflector:ImportBinding (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Description.Service service, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0014d System.Web.Services.Description.ProtocolReflector:ImportService (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url) in 0x00135 System.Web.Services.Description.ProtocolReflector:Reflect (System.Web.Services.Description.ServiceDescriptionReflector serviceReflector, System.Type type, System.String url, System.Xml.Serialization.XmlSchemaExporter xxporter, System.Xml.Serialization.SoapSchemaExporter sxporter) in 0x000b8 System.Web.Services.Description.ServiceDescriptionReflector:Reflect (System.Type type, System.String url) in 0x0004b System.Web.Services.Protocols.SoapDocumentationHandler:GetDescriptions () in 0x00031 System.Web.Services.Protocols.SoapDocumentationHandler:ProcessRequest (System.Web.HttpContext context) in 0x0001a System.Web.Services.Protocols.SessionWrapperHandler:ProcessRequest (System.Web.HttpContext context) in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute () in 0x0007a System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync) Anyone knows if i am doing something wrong or if it is a bug ? Many thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Monodoc
I think for this, we should add some attributes to the member elements in the docs, something like InNET1_0 for members in Fx 1.0, InNET1_1, for members in Fx 1.1, etc. Would this be an options? Miguel? When it would be, we would need to scan the complete documentation, and add those attributes. Maybe we should make a one time conversion process which imports Fx 1.0, Fx 1.1, Fx 2.0 (i don't know if that's smart yet), etc classes. Please give your thoughts about this. On 10/3/05, Alexandre Miguel Pedro Gomes [EMAIL PROTECTED] wrote: Monodoc would need a profile chooser or something like that to switch between 1.x and 2.0 profile, right? Any plans on those things? Btw anyone knows why the C# specification appears without newlines? On 9/30/05, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, When will monodoc be ready for .NET 2.0 classes? (ie, when will it also allow to document generics)We will have to wait for someone to contribute the necessary code to cope with this.I have not had much time to look into this issue.What needs to be done is:* Look at the new ECMA XML documentation from ECMA and evaluatehow we could bring those changes into our documentation. * Someone would have to port the new docs nonetheless.* Someone would have to architect the changes to the monodocengine to do so.The right place to discuss this is the mono-docs-list. That being said, if you can not wait to write some documentation, we have a *lot* of stuff in the 1.x profile that needs documentation.Considering that 2.x stuff wont be 100% supported for a while, maybe it would be best to contribute to the 1.x effort.___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list -- Alexandre Gomes, Portugal ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Hi. Did you write the complete asmx ? I have generated the C# proxies for my web services, compiled them in a dll. So i don't want the rewrite the whole asmx file, because my web service is written in C++ with gsoap. I tried the tutorial on the mono website, concerning GTK# and the webservices, but i get an error trying to view the page. Thanks Johann. Simon Bain a écrit : (Sorry forgot to reply all :-) ) Hi. If you are talking about the page which IIS sends back when you call the asmx file, then the mono mod_mono_server also does this every bit as well, giving back all the infomation which IIS sends to you. Take a look at http://www.tendotzero.com/edrmsService/edrms.asmx It will show you the default view from the mod_mono_server for a web service. Cheers Simon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Hi. my asmx file is %@ WebService Class=EdrmsWebService.EDRMSWebServiceClass % I have compiled the c# (This is the difference I believe) dll and placed it into the bin directory. I have apache 2 as the web server which calls mod_mono for all things mono. The dll itself was written in Visual Studio, I did recompile a previous version with mono, (but the current version I wrote more carefully :-) ) In Visual Studio do you get the wsdl file when you call your asmx page with /name.asmx?wsdl ie http://www.tendotzero.com/edrmsService/edrms.asmx?wsdl My understanding is that as long as mono recognises the underlying web service application, it will create these views. (Is this correct people?). I am at present writing a web service in C++ but have not written a web app to connect to it, just desk top apps and so am guessing here. However I am going to hazard a guess that your app may not be recognised, because mono does not recognise the C++ and so cannot asertain the wsdl automatically. For gSoap requests try the apache module http://www.cs.fsu.edu/~engelen/soap.html I have not used it so cannot say how good bad o indifferent it is, however my assumption is that it will be pretty good. This will then allow you to create a web app in c# which will give you all of the benefits that it has for web applications. This app will run on mono, the back end calls will inturn be run by the apache gsoap module. Giving you the best of both worlds. or... No we will not go there. Hope this helps Simon -- Simon Bain TENdotZERO Mobile: 07793 769 846 Office: 0845 056 3377 - 44 (0) 1234 359090 Fax:44 (0) 208 882 9411 quote who=Johann BLAIS Hi. Did you write the complete asmx ? I have generated the C# proxies for my web services, compiled them in a dll. So i don't want the rewrite the whole asmx file, because my web service is written in C++ with gsoap. I tried the tutorial on the mono website, concerning GTK# and the webservices, but i get an error trying to view the page. Thanks Johann. Simon Bain a écrit : (Sorry forgot to reply all :-) ) Hi. If you are talking about the page which IIS sends back when you call the asmx file, then the mono mod_mono_server also does this every bit as well, giving back all the infomation which IIS sends to you. Take a look at http://www.tendotzero.com/edrmsService/edrms.asmx It will show you the default view from the mod_mono_server for a web service. Cheers Simon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Hi, Simon Bain a écrit : Hi. my asmx file is %@ WebService Class=EdrmsWebService.EDRMSWebServiceClass % I have compiled the c# (This is the difference I believe) dll and placed it into the bin directory. I have apache 2 as the web server which calls mod_mono for all things mono. I did the same thing except, i'm using XSP, but i get the error posted in my first mail. The dll itself was written in Visual Studio, I did recompile a previous version with mono, (but the current version I wrote more carefully :-) ) In Visual Studio do you get the wsdl file when you call your asmx page with /name.asmx?wsdl I do not use VS. ie http://www.tendotzero.com/edrmsService/edrms.asmx?wsdl My understanding is that as long as mono recognises the underlying web service application, it will create these views. (Is this correct people?). I am at present writing a web service in C++ but have not written a web app to connect to it, just desk top apps and so am guessing here. However I am going to hazard a guess that your app may not be recognised, because mono does not recognise the C++ and so cannot asertain the wsdl automatically. I've already built my web app calling C++ web services. It works fine. The problem is i want to develop new web services. So i wanted to use the mono/IIS generated page to be able to test my web service without having to write my own test pages. For gSoap requests try the apache module http://www.cs.fsu.edu/~engelen/soap.html I have not used it so cannot say how good bad o indifferent it is, however my assumption is that it will be pretty good. This will then allow you to create a web app in c# which will give you all of the benefits that it has for web applications. This app will run on mono, the back end calls will inturn be run by the apache gsoap module. Giving you the best of both worlds. or... No we will not go there. Hope this helps Simon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
I couldn't read whether your problem went away or not from your reply... anyways the required steps to do what you want are: - To view that test pages which we think something we can browse when we hit e.g. http://localhost:8080/my.asmx, you well have to create service implementation class at your server side. - It is possible to create a stub class for those services that are described as WSDLs; run wsdl -service my.wsdl - Your .asmx file should specify exactly that class name generated by wsdl(.exe) and compiled into a dll, rather than just General. Atsushi Eno Johann BLAIS wrote: Thanks for your reply. I'm using mono-1.1.8.20050824 which seems to be the last version that compile and don't break my web app. Actually, i'm looking for a way to generate test pages for my web services (like the one available when writing a asmx file). I need a tool that read a WSDL and generate those or that page. Anyone knows about such a tool ? Johann Atsushi Eno a écrit : Hi, There was a bug that blocked WSDL processing, which I fixed yesterday. So if you were trying mono/mcs from svn, please try the latest svn. Atsushi Eno Johann BLAIS wrote: Hello, I've created a webservice named General and generated the wsdl file using gSoap. I generated the proxy with the wsdl tool. I want to test it using DefaultWsdlHelpGenerator.aspx. So i wrote a simple index.asmx containing %@ WebService Class=General % I put the compiled DLL into the bin directory, and then try to access the page http://myserver/index.asmx I end up with this : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x00375 System.Web.Services.Description.ProtocolReflector:ImportBindingContent (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0010e System.Web.Services.Description.ProtocolReflector:ImportBinding (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Description.Service service, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0014d System.Web.Services.Description.ProtocolReflector:ImportService (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url) in 0x00135 System.Web.Services.Description.ProtocolReflector:Reflect (System.Web.Services.Description.ServiceDescriptionReflector serviceReflector, System.Type type, System.String url, System.Xml.Serialization.XmlSchemaExporter xxporter, System.Xml.Serialization.SoapSchemaExporter sxporter) in 0x000b8 System.Web.Services.Description.ServiceDescriptionReflector:Reflect (System.Type type, System.String url) in 0x0004b System.Web.Services.Protocols.SoapDocumentationHandler:GetDescriptions () in 0x00031 System.Web.Services.Protocols.SoapDocumentationHandler:ProcessRequest (System.Web.HttpContext context) in 0x0001a System.Web.Services.Protocols.SessionWrapperHandler:ProcessRequest (System.Web.HttpContext context) in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute () in 0x0007a System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync) Anyone knows if i am doing something wrong or if it is a bug ? Many thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Ok so i take my favorite wsdl describing my service web named General. I generate the stub using wsdl -server general.wsdl. The generated stub define a class like this : public abstract class General : System.Web.Services.WebService So in my General.asmx, i should have : %@ WebService Class=General % But now how do i use the stub ? Has it to be compiled somewhere or be referenced as a codebehind ? Anyway, thanks for your time. Johann Atsushi Eno a écrit : I couldn't read whether your problem went away or not from your reply... anyways the required steps to do what you want are: - To view that test pages which we think something we can browse when we hit e.g. http://localhost:8080/my.asmx, you well have to create service implementation class at your server side. - It is possible to create a stub class for those services that are described as WSDLs; run wsdl -service my.wsdl - Your .asmx file should specify exactly that class name generated by wsdl(.exe) and compiled into a dll, rather than just General. Atsushi Eno Johann BLAIS wrote: Thanks for your reply. I'm using mono-1.1.8.20050824 which seems to be the last version that compile and don't break my web app. Actually, i'm looking for a way to generate test pages for my web services (like the one available when writing a asmx file). I need a tool that read a WSDL and generate those or that page. Anyone knows about such a tool ? Johann Atsushi Eno a écrit : Hi, There was a bug that blocked WSDL processing, which I fixed yesterday. So if you were trying mono/mcs from svn, please try the latest svn. Atsushi Eno Johann BLAIS wrote: Hello, I've created a webservice named General and generated the wsdl file using gSoap. I generated the proxy with the wsdl tool. I want to test it using DefaultWsdlHelpGenerator.aspx. So i wrote a simple index.asmx containing %@ WebService Class=General % I put the compiled DLL into the bin directory, and then try to access the page http://myserver/index.asmx I end up with this : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x00375 System.Web.Services.Description.ProtocolReflector:ImportBindingContent (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0010e System.Web.Services.Description.ProtocolReflector:ImportBinding (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Description.Service service, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0014d System.Web.Services.Description.ProtocolReflector:ImportService (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url) in 0x00135 System.Web.Services.Description.ProtocolReflector:Reflect (System.Web.Services.Description.ServiceDescriptionReflector serviceReflector, System.Type type, System.String url, System.Xml.Serialization.XmlSchemaExporter xxporter, System.Xml.Serialization.SoapSchemaExporter sxporter) in 0x000b8 System.Web.Services.Description.ServiceDescriptionReflector:Reflect (System.Type type, System.String url) in 0x0004b System.Web.Services.Protocols.SoapDocumentationHandler:GetDescriptions () in 0x00031 System.Web.Services.Protocols.SoapDocumentationHandler:ProcessRequest (System.Web.HttpContext context) in 0x0001a System.Web.Services.Protocols.SessionWrapperHandler:ProcessRequest (System.Web.HttpContext context) in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute () in 0x0007a System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync) Anyone knows if i am doing something wrong or if it is a bug ? Many thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with asmx file
Sorry I didn't read all your post. So I compiled the stub into a dll, created my asmx. When i try to access the General.asmx, i get an error : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x000e4 System.Web.UI.WebControls.Repeater:GetData () in 0xa System.Web.UI.WebControls.Repeater:GetResolvedDataSource () in 0x00079 System.Web.UI.WebControls.Repeater:CreateControlHierarchy (Boolean useDataSource) in 0x00039 System.Web.UI.WebControls.Repeater:OnDataBinding (System.EventArgs e) in 0x00023 System.Web.UI.WebControls.Repeater:DataBind () in 0x0006a System.Web.UI.Control:DataBindChildren () in 0x00095 System.Web.UI.Control:DataBind (Boolean raiseOnDataBinding) in 0x00010 System.Web.UI.Control:DataBind () in 0x0058b ASP.DefaultWsdlHelpGenerator_aspx:Page_Load (System.Object sender, System.EventArgs e) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x0005c System.Web.UI.Control:OnLoad (System.EventArgs e) in 0x00026 System.Web.UI.Control:LoadRecursive () in 0x001fc System.Web.UI.Page:InternalProcessRequest () in 0x000a5 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) in 0x00096 System.Web.Services.Protocols.SoapDocumentationHandler:ProcessRequest (System.Web.HttpContext context) in 0x0001a System.Web.Services.Protocols.SessionWrapperHandler:ProcessRequest (System.Web.HttpContext context) in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute () in 0x0007a System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync) Any idea ? I don't compile from svn, i'm using 1.1.8.20050824. My admin would complain if i svn the mcs tree. I can't use the latest release because the datagrid buttoncolumn is broken. Thanks, Johann Johann BLAIS a écrit : Ok so i take my favorite wsdl describing my service web named General. I generate the stub using wsdl -server general.wsdl. The generated stub define a class like this : public abstract class General : System.Web.Services.WebService So in my General.asmx, i should have : %@ WebService Class=General % But now how do i use the stub ? Has it to be compiled somewhere or be referenced as a codebehind ? Anyway, thanks for your time. Johann Atsushi Eno a écrit : I couldn't read whether your problem went away or not from your reply... anyways the required steps to do what you want are: - To view that test pages which we think something we can browse when we hit e.g. http://localhost:8080/my.asmx, you well have to create service implementation class at your server side. - It is possible to create a stub class for those services that are described as WSDLs; run wsdl -service my.wsdl - Your .asmx file should specify exactly that class name generated by wsdl(.exe) and compiled into a dll, rather than just General. Atsushi Eno Johann BLAIS wrote: Thanks for your reply. I'm using mono-1.1.8.20050824 which seems to be the last version that compile and don't break my web app. Actually, i'm looking for a way to generate test pages for my web services (like the one available when writing a asmx file). I need a tool that read a WSDL and generate those or that page. Anyone knows about such a tool ? Johann Atsushi Eno a écrit : Hi, There was a bug that blocked WSDL processing, which I fixed yesterday. So if you were trying mono/mcs from svn, please try the latest svn. Atsushi Eno Johann BLAIS wrote: Hello, I've created a webservice named General and generated the wsdl file using gSoap. I generated the proxy with the wsdl tool. I want to test it using DefaultWsdlHelpGenerator.aspx. So i wrote a simple index.asmx containing %@ WebService Class=General % I put the compiled DLL into the bin directory, and then try to access the page http://myserver/index.asmx I end up with this : *Description: *Error processing request. *Error Message: *HTTP 500. *Stack Trace: * || System.NullReferenceException: Object reference not set to an instance of an object in 0x00375 System.Web.Services.Description.ProtocolReflector:ImportBindingContent (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0010e System.Web.Services.Description.ProtocolReflector:ImportBinding (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Description.Service service, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url, System.Web.Services.Protocols.BindingInfo binfo) in 0x0014d System.Web.Services.Description.ProtocolReflector:ImportService (System.Web.Services.Description.ServiceDescription desc, System.Web.Services.Protocols.TypeStubInfo typeInfo, System.String url) in 0x00135
[Mono-dev] Mono website down ?
Hi, www.mono-project.com doesn't speak about mono anymore (Novell page now)... what's the problem ? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono website down ?
Le vendredi 07 octobre 2005 à 15:53 -0300, Rafael Teixeira a écrit : All is normal navigating from here. But you are the second person I hear talking this in the last hour, so possibly it was some server/dns glitch. Probably. Everything seems ok now. Thanks. Best regards, On 10/7/05, Pascal Fresnay [EMAIL PROTECTED] wrote: Hi, www.mono-project.com doesn't speak about mono anymore (Novell page now)... what's the problem ? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Rafael Monoman Teixeira --- I'm trying to become a Rosh Gadol before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Question about the build system
Hi, I'm trying to integrate some NET_2_0 features (IPC channels) into mcs/class/ but I cannot figure out how to handle the unix vs. cygwin/Win32 differences. Background: the IPC channels for the Unix version are implemented using Mono.Remoting.Channels.Unix, while the Win32 version has its own named pipe based implementation. The exposed official IPC channel (S.R.R.Channels.Ipc) has a factory that decides at runtime which concrete channel has to be instantiated using reflection. The question: where do I drop the underlying Win32 named pipe channel? Into S.R.R? Into a new a assembly mcs/class/Mono.Win32? Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list