[Mono-dev] http header generation
I'm writing a Web Service Client using mono 1.1.9.2 When I try to consume my target WS I have two different behaviours when I compile may classes using Mcrosoft .NEt Framework and Mono. I looked at the message the client sends using the two different run time and compiler and I found that the only difference is in the USEr Agent Line of the HTTP header (see below). Now to be sure that this is the problem I should rewrite the http header and see if the behaviour is the same. There is someone on the list that can tell me which mono class write the header: I suppose is in the Mono.Http.dll. IS configurabel in soem way or I have to recompile it ? --- HTTP Headers: POST / HTTP/1.1 User-Agent: Mono Web Services Client Protocol 2.0.50215.16 SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 HTTP Headers: POST / HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032) SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] http header generation
I have got no answert to this. Please let me know: I have downloaded mono sources and browsed the code to find the user agent string generatign code with no success . At 11.15 18/11/2005, Ivano Luberti wrote: I'm writing a Web Service Client using mono 1.1.9.2 When I try to consume my target WS I have two different behaviours when I compile may classes using Mcrosoft .NEt Framework and Mono. I looked at the message the client sends using the two different run time and compiler and I found that the only difference is in the USEr Agent Line of the HTTP header (see below). Now to be sure that this is the problem I should rewrite the http header and see if the behaviour is the same. There is someone on the list that can tell me which mono class write the header: I suppose is in the Mono.Http.dll. IS configurabel in soem way or I have to recompile it ? --- HTTP Headers: POST / HTTP/1.1 User-Agent: Mono Web Services Client Protocol 2.0.50215.16 SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 HTTP Headers: POST / HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032) SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] http header generation
Thanks Robert, I'm sorry but I'm new to Mono and also new to .Net Thanks again At 17.25 20/11/2005, Robert Jordan wrote: Ivano, You don't need to change any sources. In your webservice proxy (it's probably a HttpWebClientProtocol descendant, right?) just set the UserAgent property. Robert I have got no answert to this. Please let me know: I have downloaded mono sources and browsed the code to find the user agent string generatign code with no success . At 11.15 18/11/2005, Ivano Luberti wrote: I'm writing a Web Service Client using mono 1.1.9.2 When I try to consume my target WS I have two different behaviours when I compile may classes using Mcrosoft .NEt Framework and Mono. I looked at the message the client sends using the two different run time and compiler and I found that the only difference is in the USEr Agent Line of the HTTP header (see below). Now to be sure that this is the problem I should rewrite the http header and see if the behaviour is the same. There is someone on the list that can tell me which mono class write the header: I suppose is in the Mono.Http.dll. IS configurabel in soem way or I have to recompile it ? --- HTTP Headers: POST / HTTP/1.1 User-Agent: Mono Web Services Client Protocol 2.0.50215.16 SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 HTTP Headers: POST / HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032) SOAPAction: " http://mytarget/logon " Content-Type: text/xml; charset=utf-8 Content-Length: 381 Expect: 100-continue Connection: keep-alive Host: mytarget:80 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ 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 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] problem get_UnsafeAuthenticatedConnectionSharing ()
Hi to all, I'm using Mono 1.1.13.2 can someone give me a hint to understand why, tryin to consume a web service I get this error ? Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. in [0x5] (at C:\cygwin\tmp\scratch\mono-1.1.13.2\mcs\class\System\System.Net\HttpWebRequest.cs:480) System.Net.HttpWebRequest:get_UnsafeAuthenticatedConnectionSharing () in (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:get_UnsafeAuthenticatedConnectionSharing () in <0x0010e> System.Web.Services.Protocols.HttpWebClientProtocol:GetWebRequest (System.Uri uri) in <0x00010> System.Web.Services.Protocols.SoapHttpClientProtocol:GetWebRequest (System.Uri uri) in <0x00050> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (System.String methodName, System.Object[] parameters) in [0x00014] (at D:\ivano\eclipse31\Egg\WebServiceClient\Web References\wslogon\Reference.cs:41) WebServiceClient.wslogon.LogOn:LogOnUser (System.String username, System.String password) in (wrapper remoting-invoke-with-check) WebServiceClient.wslogon.LogOn:LogOnUser (string,string) If I run the same code compiling it as a dll and running it under xsp I have no problem. But calling with "C:\Programmi\Mono-1.1.13.2\bin\mono.exe" --debug "D:\ivano\eclipse31\Egg\WebServiceClient\WebServiceClient.exe" I get this exception. Obviously using .NET framework works correctly. TIA == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 31/01/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] serialization problem
Hi, I'm sorry to bore the list with a bunch of message but after using mono for 2 month with little problems now I think I have hit a serious (at least for me) bug. Before submitting it I want to ask to developers. Im consuming a web service. Calling one of its method using the .NET framework everything works well. When I compile it under mono as a dll and I run it under XSP I get the exception I report below. I looked at the XML sent to the web service and it is empty. Then I realized that the error happens before the XML is sent and this explian why it is empty (however it doesnt explain why the call to the seb service is performed) If you need some more detail please ask me precisely what you need because I cannot spread the code of the web service client since I have signed an NDA with the provider (I know it sounds a bit strange but that's it ). So if I have to provide code I have to mask it. Object reference not set to an instance of an object - in <0x0001d> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue) in <0x00205> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList) in <0x00041> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) in <0x000b0> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp) in <0x0029b> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem) in <0x00553> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue) in <0x00205> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList) in <0x00041> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) in <0x000b0> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp) in <0x0029b> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem) in <0x00553> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue) in <0x00107> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteListContent (System.Object container, System.Xml.Serialization.TypeData listType, System.Xml.Serialization.ListMap map, System.Object ob, System.Text.StringBuilder targetString) in <0x003fc> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue) in <0x00110> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList) in <0x00041> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElementElements (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) in <0x000b0> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObjectElement (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp) in <0x0029b> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteObject (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob, System.String element, System.String namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem) in <0x00553> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMemberElement (System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object memberValue) in <0x00205> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteElementMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList) in <0x0002b> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList) in <0x00120> System.Xml.Serialization.XmlSerializationWriterInterpreter:WriteMessage (System.Xml.Serialization.XmlMembersMapping membersMap, System.Object[] paramete
solved: Re: [Mono-dev] problem get_UnsafeAuthenticatedConnectionSharing ()
To anyone who cares, I solved the problem: I didn't read with attention the error message and I didn't notice that the path C:\cygwin\tmp\scratch\mono-1.1.13.2\mcs\class\System\System.Net\HttpWebRequest.cs:480 that path doesn't exist on my machine and it ever has been. So, I threw away all my XDevelop file (apart from the .cs obviously), I rebuilt the project from scratch and everything it's okay now. I still can't understand why that path was in the X Develop solution and project file, but definitely was not a Mono problem At 09.28 01/02/2006, Ivano Luberti wrote: Hi to all, I'm using Mono 1.1.13.2 can someone give me a hint to understand why, tryin to consume a web service I get this error ? Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. in [0x5] (at C:\cygwin\tmp\scratch\mono-1.1.13.2\mcs\class\System\System.Net\HttpWebRequest.cs:480) System.Net.HttpWebRequest:get_UnsafeAuthenticatedConnectionSharing () in (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:get_UnsafeAuthenticatedConnectionSharing () in <0x0010e> System.Web.Services.Protocols.HttpWebClientProtocol:GetWebRequest (System.Uri uri) in <0x00010> System.Web.Services.Protocols.SoapHttpClientProtocol:GetWebRequest (System.Uri uri) in <0x00050> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (System.String methodName, System.Object[] parameters) in [0x00014] (at D:\ivano\eclipse31\Egg\WebServiceClient\Web References\wslogon\Reference.cs:41) WebServiceClient.wslogon.LogOn:LogOnUser (System.String username, System.String password) in (wrapper remoting-invoke-with-check) WebServiceClient.wslogon.LogOn:LogOnUser (string,string) If I run the same code compiling it as a dll and running it under xsp I have no problem. But calling with "C:\Programmi\Mono-1.1.13.2\bin\mono.exe" --debug "D:\ivano\eclipse31\Egg\WebServiceClient\WebServiceClient.exe" I get this exception. Obviously using .NET framework works correctly. TIA == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 31/01/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 31/01/2006 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.0/249 - Release Date: 02/02/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Re: [Bug 77447][Min] Changed - XML serialization doesn't work properly on a given class
Sorry to forward this on the dev list: but I'm in a hurry to get to know what's going on. For what I can see lluis seems off line. There is someone that can explain me what happened with this bug fix ? At 17.38 19/03/2006, [EMAIL PROTECTED] wrote: Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77447 --- shadow/77447 2006-02-20 06:55:57.0 -0500 +++ shadow/77447.tmp.30266 2006-03-19 11:38:30.0 -0500 @@ -237,6 +237,14 @@ --- Additional Comments From [EMAIL PROTECTED] 2006-02-16 06:45 --- The fill will be included in the next release. I don't know when it will be available, but it will be soon. --- Additional Comments From [EMAIL PROTECTED] 2006-02-20 06:55 --- Ok. Thanks again for the quick solution + +--- Additional Comments From [EMAIL PROTECTED] 2006-03-19 11:38 --- +I have just donwloaded and installed the 1.1.13.4 release of mono +The bug it's still there . +Have you included the solution files in the this realese ? +If no, when do you think a release with the solution will be +delivered ? + -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 17/03/2006 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Re: [Bug 77447][Min] Changed - XML serialization doesn't work properly on a given class
At 10.04 21/03/2006, Robert Jordan wrote: Ivano Luberti wrote: Sorry to forward this on the dev list: but I'm in a hurry to get to know what's going on. For what I can see lluis seems off line. There is someone that can explain me what happened with this bug fix ? Not sure what explanation you want to hear: the bug has been fixed but it has not been backported to the stable branch. Even if it were, it probably did't make into the last stable release either. I don't know when the next release is scheduled. Robert Thanks Robert: LLuis wrote on bugzilla that the bug fixing would have been included in the next stable release. For what I know the "next" release it's the 1.1.13.4, but the bug fix has not been included == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Re: [Bug 77447][Min] Changed - XML serialization doesn't work properly on a given class
OK Robert, sorry I didn't understand corrctly Lluis phrase. Thanks for your help At 11.38 21/03/2006, Robert Jordan wrote: Ivano Luberti wrote: At 10.04 21/03/2006, Robert Jordan wrote: Ivano Luberti wrote: Sorry to forward this on the dev list: but I'm in a hurry to get to know what's going on. For what I can see lluis seems off line. There is someone that can explain me what happened with this bug fix ? Not sure what explanation you want to hear: the bug has been fixed but it has not been backported to the stable branch. Even if it were, it probably did't make into the last stable release either. I don't know when the next release is scheduled. RobertThanks Robert: LLuis wrote on bugzilla that the bug fixing would have been included in the next stable release. For what I know the "next" release it's the 1.1.13.4, but the bug fix has not been included Lluis wrote: `in the next release' and not the next bugfix release. The 1.1.13 branch must remain stable for a long time, thus developers are picky and careful about what gets backported to this branch. I asked him if I may backport the patch, but if he doesn't agree, there is nothing we can do about but applying the patch locally and compiling ourself. That's what I'm doing. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] CultureInfo not supported
I'm developing a web service client that connect to a server that returns a DataSet in which the CulureInfo name is nb-NO. Mono raises an excpetion because this name is not supported. There is a way, without modifying and re-compiling to make mono runtime ignore CulturInfo name or to use a default ? == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 23/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] CultureInfo not supported
Hi Atsushi. I have found that someone already has reported this as a bug http://bugzilla.ximian.com/show_bug.cgi?id=69652 Speaking of the workouround you suggest: I cant' do that beacuse I receive the dataset from a web service and the exception raise during the deserialization process. Here is the stack trace: Parameter name: name 2006-04-01 21:21:40,245 [1200] DocProviderWS.Sources.ImplementazioneDocProviderWS.getVerbatims(:0) DocProviderWS.Sources.ImplementazioneDocProviderWS.getVerbatims(:0) [DEBUG{NDC}] - in <0x000fb> System.Globalization.CultureInfo:.ctor (System.String name, Boolean use_user_override) in <0xf> System.Globalization.CultureInfo:.ctor (System.String name) in <0x00119> System.Data.XmlSchemaDataImporter:ProcessDataSetElement (System.Xml.Schema.XmlSchemaElement el) in <0x000be> System.Data.XmlSchemaDataImporter:ProcessGlobalElement (System.Xml.Schema.XmlSchemaElement el) in <0x00462> System.Data.XmlSchemaDataImporter:Process () in <0x00027> System.Data.DataSet:ReadXmlSchema (System.Xml.XmlReader reader) in <0x00576> System.Data.DataSet:ReadXml (System.Xml.XmlReader reader, XmlReadMode mode) in <0xf> System.Data.DataSet:ReadXmlSerializable (System.Xml.XmlReader reader) in <0x00011> System.Data.DataSet:System.Xml.Serialization.IXmlSerializable.ReadXml (System.Xml.XmlReader reader) in <0x00046> System.Xml.Serialization.XmlSerializationReader:ReadSerializable (IXmlSerializable serializable) in <0x00193> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) in <0x01e04> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder) in <0x0003c> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) in <0x00194> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) in <0x0005f> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) in <0x000e1> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) in <0x01e04> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder) in <0x001d4> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMessage (System.Xml.Serialization.XmlMembersMapping typeMap) in <0x000c6> System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadRoot () in <0x0005d> System.Xml.Serialization.XmlSerializer:Deserialize (System.Xml.Serialization.XmlSerializationReader reader) in <0x00040> System.Xml.Serialization.XmlSerializer:Deserialize (System.Xml.XmlReader xmlReader) in <0x000d9> System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage (System.Xml.XmlTextReader xmlReader, System.Xml.Serialization.XmlSerializer bodySerializer, System.Xml.Serialization.XmlSerializer headerSerializer, System.Object body, System.Web.Services.Protocols.SoapHeaderCollection headers) in <0x0003e> System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage (System.Xml.XmlTextReader xmlReader, System.Web.Services.Protocols.SoapMethodStubInfo method, SoapHeaderDirection dir, System.Object body, System.Web.Services.Protocols.SoapHeaderCollection headers) in <0x002bd> System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse (System.Net.WebResponse response, System.Web.Services.Protocols.SoapClientMessage message, System.Web.Services.Protocols.SoapExtension[] extensions) in <0x0024f> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (System.String method_name, System.Object[] parameters) in <0x0005e> DocProviderWS.wssurveydata.SurveyData:GetData (System.String key, DocProviderWS.wssurveydata.TransferDefBase transferDef, DocProviderWS.wssurveydata.ResponseToken token) in (wrapper remoting-invoke-with-check) DocProviderWS.wssurveydata.SurveyData:GetData (string,DocProviderWS.wssurveydata.TransferDefBase,DocProviderWS.wssurveydata.ResponseToken) in <0x001f1> DocProviderWS.Sources.ImplementazioneDocProviderWS:getVerbatims (DocProviderWS.Sources.Identificatorequestionario idquestionario, DocProviderWS.Sources.DomandaTestoLibero domanda, DocProviderWS.Sources.ParametriQuery parametri) At 14.40 28/03/2006, Atsushi Eno wrote: Hi, But I'll add support for nb-NO culture to the runtime. For your question, the answer would be "yes" - to workaround this problem with current mono, try yourDataSet.Lo
Re: [Mono-dev] CultureInfo not supported
At 23.36 02/04/2006, Atsushi Eno wrote: Mmm, thanks for the bug info. BTW for nb-NO I've committed the fix in svn. OK: since I prefer to use "official" releases, can I assume it will be included in the 1.1.13.7 ? If you cannot control serialization on the other side, you can't do anything but modifying the input XML to strip the culture info. Please, can you explain me better ? Do you mean I have to modify mono sources ? I really don't konow how I can modify the serialization behaviour. == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] CultureInfo not supported
OK, thanks At 20.40 03/04/2006, Atsushi Eno wrote: Ivano Luberti wrote: At 23.36 02/04/2006, Atsushi Eno wrote: Mmm, thanks for the bug info. BTW for nb-NO I've committed the fix in svn.OK: since I prefer to use "official" releases, can I assume it will be included in the 1.1.13.7 ? Hmm, I have never thought that it is part of major fix that should go into 1.1.13 branch, as existing fix is not (I am rather afraid of breaking existing cultures == possible side effect onto them by nature of culture-info-table.h). The upcoming 1.2 beta (1.1.14) will contain the change. Atsushi Eno -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] CultureInfo not supported
Rafael, Thanks for the starting point. At 22.06 03/04/2006, Rafael Teixeira wrote: Hi, no need to change Mono sources, see inline On 4/3/06, Ivano Luberti <[EMAIL PROTECTED]> wrote: > At 23.36 02/04/2006, Atsushi Eno wrote: > If you cannot control serialization on the other side, you can't > do anything but modifying the input XML to strip the culture info. > Please, can you explain me better ? > Do you mean I have to modify mono sources ? > I really don't konow how I can modify the serialization behaviour. Basically you need to code a SOAP extension, that plugs in the Web Services .NET pipeline (you can say where, if before or after serialization/deserialization), and can alter the received XML BEFORE being wrongly deserialized. See http://msdn.microsoft.com/library/default.asp?url=""> Google "soap extensions in .net" for other links on the subject. :) -- Rafael "Monoman" Teixeira --- As I'm currently working a lot with Java and even fixing Java VMs (JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the title (Javaman) from my friend Bruno Souza and become the MonoNJavaMan. Yeah, I may currently be crazier than usual... No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006 == Archimede Informatica NEWS! == Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa: prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso alla Torre sia online che presso le biglietterie dislocate sulla piazza: http://www.opapisa.it/boxoffice Partner del Progetto Ci-Tel "Front office Telematico per il cittadino" Ente Coordinatore Comune di Pisa http://www.comune.pisa.it/doc/e-government.htm == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 e-mail: [EMAIL PROTECTED] web: http://www.archicoop.it No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list