[Mono-dev] WebServices with Mono on ARM / Nokia 770

Rafael Teixeira monoman at gmail.com
Wed Dec 28 14:08:40 EST 2005


Try to copy the debug-symbol files for the assemblies (.mdb) alongside
them and run "mono --debug yourprogram.exe", to see if the stack trace
comes with some usefull information, and post here again.

Fun,

On 12/28/05, marc.bordessoule <marc.bordessoule at monbureau.com> wrote:
>
>
>
> Hi,
>
>
>
> C# / mono seems to be a very good solution for programming business
> applications on the Nokia 770
>
> I try with success some GTK# samples (compile on pc and use on N770)
>
>
>
> (I use the mono-nokia.tgz from
> http://www.mono-project.com/Mono:ARM )
>
>
>
> Now I need WebServices in c# in my N770
>
>
>
> I made a small sample from
> http://www.mono-project.com/Webservices_and_GtkSharp on
> pc/linux with success.
>
> And I tried it on my Nokia 770 (cf my sample at the end of this mail)
>
>
>
> I added some files it ask for:  System.Web.dll, System.Web.Services.dll,
> System.EnterpriseServices.dll and /usr/local/etc/mono/... files
> (machine.config)
>
>
>
> And finally I get the following error:
>
>
>
> Unhandled Exception: System.NotImplementedException: The requested feature
> is not implemented.
>
> in <0x00000> <unknown method>
>
> in <0x00000> <unknown method>
>
>
>
> (I also tried to compile mono (1.1.9 or 1.1.10) in the scratchbox (0.9.8.5)
> without success)
>
>
>
>
>
> So, is it possible today to use mono web services in c# on Nokia770?
>
> What should I do?
>
>
>
> Thanks for your answer,
>
>
>
> Marc.
>
>
>
>
>
> //
> ------------------------------------------------------------------------------
>
> My minimum webservice program:
>
>>
> RemoteWebService ws = new RemoteWebService ();
>
> string res = ws.Add (firstNumber, secondNumber).ToString ();
>
>>
>
>
> And WSAppProxy.cs (from wsdl.exe)
>
> //
> ------------------------------------------------------------------------------
>
> //  <autogenerated>
>
> //      This code was generated by a tool.
>
> //      Mono Runtime Version: 1.1.4322.2032
>
>
>
> //  </autogenerated>
>
> //
> ------------------------------------------------------------------------------
>
> namespace GtkWebService {
>
>
>
>
> [System.Web.Services.WebServiceBinding(Name="RemoteWebServiceSoap",
> Namespace="http://tempuri.org/")]
>
>     [System.Diagnostics.DebuggerStepThroughAttribute()]
>
>
> [System.ComponentModel.DesignerCategoryAttribute("code")]
>
>     public class RemoteWebService :
> System.Web.Services.Protocols.SoapHttpClientProtocol {
>
>
>
>         public RemoteWebService() {
>
>             this.Url = "http://localhost:8081/index.asmx";
>
>         }
>
>
>
>
> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Add",
> RequestNamespace="http://tempuri.org/",
> ResponseNamespace="http://tempuri.org/",
> ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
> Use=System.Web.Services.Description.SoapBindingUse.Literal)]
>
>         public int Add(int firstNumber, int secondNumber) {
>
>             object[] results = this.Invoke("Add", new object[] {
>
>                 firstNumber,
>
>                 secondNumber});
>
>             return ((int)(results[0]));
>
>         }
>
>
>
>         public System.IAsyncResult BeginAdd(int firstNumber, int
> secondNumber, System.AsyncCallback callback, object asyncState) {
>
>             return this.BeginInvoke("Add", new object[] {
>
>                 firstNumber,
>
>                 secondNumber}, callback, asyncState);
>
>         }
>
>
>
>         public int EndAdd(System.IAsyncResult asyncResult) {
>
>             object[] results = this.EndInvoke(asyncResult);
>
>             return ((int)(results[0]));
>
>         }
>
>     }
>
> }
>
> //------------------------------------------------------------------------------
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>


--
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...


More information about the Mono-devel-list mailing list