[Mono-dev] .Net Webservice

2013-02-20 Thread Ghostdog
Hi all, I am new to IPhone development and Mono. I have written a small webservice in C# as above. [WebService(Namespace = http://ibs.service/;)] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] public class Service1 :

Re: [Mono-dev] .Net Webservice

2013-02-20 Thread Petr Onderka
But I recieve an error when trying to call the webservice from Mono at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00043] in /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/HttpWebRequest.cs:739 at System.Net.HttpWebRequest.GetRequestStream ()

[Mono-dev] patch for bug #9520: Dns.GetHostName() fails in the standard mono 3.0.3 when embedded

2013-02-20 Thread Jonathan Shore
There has been a bug outstanding in 3.0.3 and in the repository since January that has meant that cannot use either code from the head or the 3.0.3 build (3.0.2 is ok). The configuration of the Socket class to detect ipv6 support uses the ConfigurationManager class. In the context of an

Re: [Mono-dev] .Net Webservice

2013-02-20 Thread Ghostdog
Hi thanks for your fast reply. That is the StackTrace of the error I got. What information do you need. What I found out in the meantime that if the string I return is for example 12345 everything works fine. As soon as I change the return value to 123la or sth else I get this error. Thank you

Re: [Mono-dev] .Net Webservice

2013-02-20 Thread Daniel Lo Nigro
That's just the stack trace; we'd like the exception message and type as well :) On Thu, Feb 21, 2013 at 9:03 AM, Ghostdog m.schlemb...@ceeyafree.de wrote: Hi thanks for your fast reply. That is the StackTrace of the error I got. What information do you need. What I found out in the

Re: [Mono-dev] .Net Webservice

2013-02-20 Thread Ghostdog
Sorry what a question ... after reading I realized. Here we go. I am not sure where the filename unknown comes from System.NullReferenceException: Object reference not set to an instance of an object at System.ServiceModel.ChannelFactory.get_DefaultOpenTimeout () [0x0] in

Re: [Mono-list] Run a WCF as root

2013-02-20 Thread Robert Jordan
On 19.02.2013 22:23, acrym wrote: I need to use a port under 1024. How can I enable root access to my WCF service (.dll) ? Either execute the process as root (not recommended for a public service), or set a firewall forwarding rule from your port = 1024 to a port 1024 where your service is

[Mono-list] Specifying gc=sgen in mono-service

2013-02-20 Thread Dave Curylo
Is there a way to specify the GC used when running a service using mono-service? --gc=sgen works when invoking mono directly, but how do I do this through mono-service? ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] Simple example of Gtk-based Mono.WebBrowser on Windows/Mac

2013-02-20 Thread Doug Blank
On Fri, Feb 15, 2013 at 1:48 PM, Ian Norton ian.norton-bad...@thales-esecurity.com wrote: Have you had any luck? I'd be rather keen on this, especially if you can figure out how to hook javascript up. Not yet, but I'm going to try to directly contact the original author. I will post back here

Re: [Mono-list] Which latest version of mono is stable?

2013-02-20 Thread Alan
2.10.11 is the latest stable release. The 3.x series is currently in beta but will hopefully become stable in the next few weeks. Alan On 14 February 2013 00:33, xplicit s...@ngs.ru wrote: I've posted a bug about mono 2.10 crashing instead of throwing OutOfMemoryException and got an answer,

Re: [Mono-list] Specifying gc=sgen in mono-service

2013-02-20 Thread Robert Jordan
On 20.02.2013 17:57, Dave Curylo wrote: Is there a way to specify the GC used when running a service using mono-service? --gc=sgen works when invoking mono directly, but how do I do this through mono-service? With the MONO_OPTIONS environment variable: MONO_OPTIONS=--gc=sgen mono-service ...

Re: [Mono-list] Assembly.GetExecutingAssembly() not working in embedded mono?

2013-02-20 Thread nelson
I used this solution instead : http://stackoverflow.com/questions/14915863/assembly-getexecutingassembly-not-working-in-embedded-mono -- View this message in context: http://mono.1490590.n4.nabble.com/Assembly-GetExecutingAssembly-not-working-in-embedded-mono-tp4658613p4658662.html Sent from

Re: [Mono-list] Mono CSharp Evaluator : creating two Actionobject via two distinct Run() crashes

2013-02-20 Thread nelson
I meant the last Run(). -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-CSharp-Evaluator-creating-two-Action-object-via-two-distinct-Run-crashes-tp4658632p4658663.html Sent from the Mono - General mailing list archive at Nabble.com.