Hi, i have tested including the calculator Webservice from the official tutorial. Worked fine. Then i included my srervice again and the error was back. I managed to provide my service on a public server. If any of you have an idea what could be the reason, please try: http://91.190.202.121:8083/Sync.svc?wsdl
If i generat Clientcode via slsvcutil it seems to work until i pass a Complex Datatype as out-parameter back to the client. Wireshark sows that the soapmessage contains the data, but in the completed-event the variable is null. Any ideas how to solve this? I urgently need either a .Net 2.0 Webservice solution or a WCF solution. But both don't work... Thanks in advance Bernhard [email protected] Gesendet von: [email protected] 05.10.2011 20:43 Bitte antworten an Discussions related to Mono for Android <[email protected]> An Discussions related to Mono for Android <[email protected]> Kopie Thema [mono-android] Antwort: Re: Webservice Deserialization Error Hi, i already tried release and debug, each with and without linking. As the services work from my other clients on iOS (monotouch), wp7, winCe and windows i dont think its a problem with the services. And According to WireShark there is no single packet transfered... Bernhard Glen Hassell <[email protected]> Gesendet von: [email protected] 05.10.2011 12:10 Bitte antworten an Discussions related to Mono for Android <[email protected]> An Discussions related to Mono for Android <[email protected]> Kopie Thema Re: [mono-android] Webservice Deserialization Error Suggestion: http://www.soapui.org/ - very useful for inspecting web services during the SDLC. Wireshark is very useful filtering on any value of a HTTP request / response to capture all the requests to a particular host, like your mobile device, of course attached within your local network. Have a lot of Ph....un... :-) On Wed, Oct 5, 2011 at 6:58 AM, Jonathan Pryor <[email protected]> wrote: Is this a Release build, and/or do you have linking enabled? Thanks, - Jon On Oct 4, 2011, at 3:00 PM, [email protected] wrote: > > Hi, > > > i got a monodroid appication and a few librarys. One of the librarys contains 2 Webservice References. If i call them from my app, no matter wich method (e.g. no parameters, no return value) i get the following error: > > {System.IndexOutOfRangeException: Array index is out of range. > at (wrapper stelemref) object:virt_stelemref_object (intptr,object) > at System.Xml.Serialization.XmlTypeMapMember.SetValueSpecified (System.Object ob, Boolean value) [0x0000c] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlTypeMapMember.cs:200 > at System.Xml.Serialization.XmlSerializationReaderInterpreter.SetMemberValue (System.Xml.Serialization.XmlTypeMapMember member, System.Object ob, System.Object value, Boolean isValueList) [0x0002d] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:585 > at System.Xml.Serialization.XmlSerializationReaderInterpreter.SetMemberValueFromAttr (System.Xml.Serialization.XmlTypeMapMember member, System.Object ob, System.Object value, Boolean isValueList) [0x00028] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:596 > at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMessage (System.Xml.Serialization.XmlMembersMapping typeMap) [0x00057] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:125 > at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x0004c] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:92 > at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x0001c] in /home/jon/Development/xamarin/mono/mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs:361 } > > > If i pass a wrong address to my webservice-object, i get a nameresolutionerror. Looks like getting back errors works. > > I already tried switching linking and shared runtime on and off. Same results. > > > Thanks for your help > > Bernhard Geßler_______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid -- Glen Hassell Inner Technique http://innertech.com.au/ Office: 03 9687 0006 Mobile: +61 (0) 438 340 385 _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
