[Mono-docs-list] Re: [Mono-dev] Monodoc

2005-10-07 Thread Miguel de Icaza
Hello,

 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.

I do not think we need a profile switcher, it might be confusing to
people that if they use that and leave it on accidentally they never see
the new stuff.

So a label that says Available since:  might be all that we need.

And that information is already being used/rendered by Gtk#.

Miguel.

___
Mono-docs-list maillist  -  Mono-docs-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list


[Mono-winforms-list] Programs compiled on Delphi 2005 using MWF hang on exit

2005-10-07 Thread Alexandre Rocha Lima e Marcondes




Hello folks,

 I have been testing interop between Delphi 2005 .NET binaries and mono and have noticed that the binaries generated by Delphi 2005, when using Windows Forms, hag after closing the main window. It happens on mono running on Linux, when on Windows people that tried noticed that it works OK, both running on Mono and on Microsoft .NET.

 There are a couple binaries compiled with Delphi 2005 to download at: http://monobrasil.sl.org.br/flash/Delphi2005.zip 

 I guess it might be a problem on Application.Run or on the message loop ...

 Can someone help me discover if the bug is on MWF or on mono Runtime ?







--
Regards,
 Alexandre Rocha Lima e Marcondes
 P4 Tecnologia e Desenvolvimento Humano 




[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] 


www.p4tecnologia.com
alexandre.p4tecnologia.com 


Projetos:
MonoBrasil MonoBASIC ACBr 
Freedom ERP 







To validate this message's signature follow the instructions: http://www.cacert.org/index.php?id=3lang=en_US











smime.p7s
Description: S/MIME cryptographic signature
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-dev] Regressions.

2005-10-07 Thread Raja R Harinath
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

2005-10-07 Thread 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


Re: [Mono-dev] Problem with asmx file

2005-10-07 Thread Simon Bain
(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

2005-10-07 Thread Matthijs ter Woord
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

2005-10-07 Thread 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

2005-10-07 Thread Simon Bain
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

2005-10-07 Thread Johann BLAIS

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

2005-10-07 Thread Atsushi Eno

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

2005-10-07 Thread Johann BLAIS

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

2005-10-07 Thread Johann BLAIS

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 ?

2005-10-07 Thread Pascal Fresnay
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 ?

2005-10-07 Thread Pascal Fresnay
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

2005-10-07 Thread Robert Jordan

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


[Mono-list] tool to look at assembly

2005-10-07 Thread Joeri Belis
Hi,

is there a tool in mono that can list the methods and properties of an
assembly?

J

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] tool to look at assembly

2005-10-07 Thread Duncan Mak
On Fri, 2005-10-07 at 09:05 +0200, Joeri Belis wrote:
 Hi,
 
 is there a tool in mono that can list the methods and properties of an
 assembly?

Yes, it's called monop.

Duncan.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Migrating ASP.NET

2005-10-07 Thread Pedro Santos

Hello,

We are migrating our larger web application [1] from a Windows/IIS/MS SQL 
Server to Linux/Mono/PostgreSQL. Note that our application incorporates other 
two applications: flexwiki[2] and yaf[3]. We already have all this working 
very fine on Mono but we are two programmers, so we would like some advice on 
the administrantion part. :-)

The server available to us, uses Plesk and apache. However, they said that 
Plesk does not like that someone messes around with the apache configuration. 
Does anyone has experience with Plesk/apache/mod_mono that can give us some 
help?

The other option is simply using XSP. At this moment is there any reason why 
we should not use XSP? I've been using XSP for a while and I like it a lot. 
However, it seems that XSP does not create logs (like apache does, so that 
stats apps can operate over them). Any hints on this issue?

Is there any reading material regarding this kind of migration and setting up 
the server? Thanks.

[1] http://orionsbelt.zi-yu.com
[2] http://flexwiki.com
[3] http://yetanotherforum.net

-- 
Pedro Santos
www.psantos.net
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Building GUI with glade not working

2005-10-07 Thread n_powell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Oct 05, 2005 at 09:42:21PM -0500, Fabian Salamanca Dominguez wrote:
 And I got the following error:
 
 Unhandled Exception: System.ArgumentException: Cannot get resource file '
 gui.gla
 de'

A quick look offers a few things to look at.  1, find out where the
GladeXML constructor expects the gui.glade file to be (b/c it looks like
it can't find that file).  And 2, The
constructor you are using expects a System.Reflection.Assembly as the
first param...which may be able to be 'null', I don't know since I am
brand new to mono/C#/.Net myself :)

HTH
- -- 
nathan
nathan_at_nathanpowell_dot_org

The atmosphere of the average workplace is to productivity what flames
painted on the side of a car are to speed
 ~Paul Graham
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRnZiAHGknoE/3V8RAqEpAKCqx5a25D/qmyKsg97b2egnZlHNfgCaAt1x
giDuVr2u2G79iYWD2m63M3E=
=y15O
-END PGP SIGNATURE-
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] tool to look at assembly

2005-10-07 Thread Mario Carrión
On Fri, 2005-10-07 at 03:14 -0400, Duncan Mak wrote:
 On Fri, 2005-10-07 at 09:05 +0200, Joeri Belis wrote:
  Hi,
  
  is there a tool in mono that can list the methods and properties of an
  assembly?
 
 Yes, it's called monop.
If you want to see more than properties and methods you can use MonoUML[1]

[1]http://www.monouml.org

Cheers
-- 
Mario Carrión [EMAIL PROTECTED]

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem with Mono website?

2005-10-07 Thread Elliott Draper

Guys,

Is something up with the Mono website at the minute? When I try to visit 
http://www.mono-project.com, I'm being greeted with what looks like the 
main http://www.novell.com website, but without the style sheet. If it 
helps, pinging www.mono-project.com resolves to 
redirector.novell.com, with an IP of 130.57.4.70.


Something funny going on?

Cheers,
-= El =-
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Process Address space map

2005-10-07 Thread Shankari
Thanks a lot for all the replies! 

Marcus, I would like the details about Mono
layout(being similar to IBM's JVM) .If you could
provide them, it will be great.

Also, I was trying to get the address space map of
Mono and did  export MONO_PRINT_ADDRESS_MAP =1 It
dumps the same info. in /proc/pid/maps.

I am interested in knowing which memory addr range is
in managed heap, where the code resides and so on. Am
I looking in the right direction? 

Thanks again for your inputs.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problems to use monologue

2005-10-07 Thread enzo - Eduardo Garcia

Hi list.

i want use monologue to syndicate blogs to team members of project Open 
BSS [1]  but when im edit my bloggers.xml file and add some rss address 
from blogspot and my owner blog monologue crash.


this its my bloggers.xml file.

BloggerCollection
   Blogger Name=Christian Castillo 
RssUrl=http://christianmce.blogspot.com/atom.xml; 
IrcNick=MonoChristian /
   Blogger Name=enzo - Eduardo Garcia 
RssUrl=http://www.enzolutions.com/mono/rss.xml; IrcNick=enzo 
Head=enzo.png/

/BloggerCollection

and when im run monologue this is the error:

[EMAIL PROTECTED]:~/monologue/worker$ make run
mono --debug monologue-worker.exe bloggers.xml 
../../website/openbss/monologue/index.html 
../../website/openbss/monologue/index.rss --verbose

Getting http://christianmce.blogspot.com/atom.xml
Getting http://www.enzolutions.com/mono/rss.xml
Downloaded: 2
Updated: 0
Cached: 0
CachedButError: 0
Error: 0
Error making HTML_OUTPUT: System.InvalidOperationException: Can't close 
RssWriter without first writing a channel.

in 0x00085 Rss.RssWriter:Close ()
in 0x001e6 Rss.RssFeed:write (Rss.RssWriter writer)
in 0x0002d Rss.RssFeed:Write (System.String fileName)
in [0x002d1] (at /home/enzo/monologue/worker/monologue-worker.cs:144) 
MonologueWorker:RunOnce (), plese check your BLOGGERS_FILE

[EMAIL PROTECTED]:~/monologue/worker$


but my rss file This is a valid RSS feed. and another blog its a rss 
file from blogspot so i guees its a valid rss too.


check here 
http://feedvalidator.org/check.cgi?url=http://www.enzolutions.com/mono/rss.xml



i talk with Ben Mauer and he say me maybe  i need make some fix to RSS 
namespace, but this namespace is inside rss.net.dll file and the svn 
sources file dont have sources to this library, i dont understand why.


someone here maybe can help me to help fix monologue or say when what 
matter in my rss fiel or show me when i can found source to this dll.


thanks a lot.

enzo
Eduardo Garcia.



[1] htp://www.openbss.org
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problems to use monologue

2005-10-07 Thread enzo - Eduardo Garcia

Hi joe.

thanks for your response, but when im put a rss feed fromo Ben Mauer how 
this file:


BloggerCollection
   Blogger Name=Ben Maurer 
RssUrl=http://feeds.feedburner.com/bmaurer; IrcNick=BenM 
Head=benm-face.png/
   Blogger Name=enzo - Eduardo Garcia 
RssUrl=http://www.enzolutions.com/mono/rss.xml; IrcNick=enzo 
Head=enzo.png/

/BloggerCollection

monologue work and add my profile in team blogger but dont read my post, 
you can see the result in http://www.openbss.org/monologue


monologue can read my configuracion but dont read my post.

for this reason i want check sources of RSS.NET.DLL but dont found when 
are this sources.



cu.

enzo
Eduardo Garcia.


Joe Audette wrote:

 


BloggerCollection
   Blogger Name=Christian Castillo 
RssUrl=http://christianmce.blogspot.com/atom.xml; 
IrcNick=MonoChristian /
   Blogger Name=enzo - Eduardo Garcia 
RssUrl=http://www.enzolutions.com/mono/rss.xml;
IrcNick=enzo 
Head=enzo.png/

/BloggerCollection
   



Could it be because you are using an atom feed instead
of an rss feed for the first Blogger?

joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com

 



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list