[Mono-dev] WebServices with c#/Mono on ARM / Nokia 770
marc.bordessoule
marc.bordessoule at monbureau.com
Sun Jan 15 17:31:48 EST 2006
Hello,
I try to use C# WebServices on my Nokia 770.
I get the message: 'The requested feature is not implemented.' (Below my
procedure)
With some investigations with the --trace option, I the suspect
'Interlocked:CompareExchange()' to be the problem.
Is this method present in mscorlib.dll from mono for arm?
May be my procedure to use WebServices on my N770 is not the good one?
What should I do?
Thanks for your answer,
Marc.
-------------
Mono --trace testws.exe on my Linux I386 :
.
ENTER: (wrapper managed-to-native)
System.Threading.Interlocked:CompareExchange
(object&,object,object)([BYREF:0x9a71c],
[System.Diagnostics.TraceListenerCollection:0x865b0], (nil), )
.
-------------
Here is what I made:
a) I compiled mono 1.1.13 on my linux I386 Ubuntu 5.10 with success.
b) I generated the ws proxy :
#wsdl http://192.68.xxx.yyy:8081/index.asmx?wsdl -out:WSAppProxy.cs
-n:GtkWebService
c) And compiled my program (cf my sample at the end of this mail)
#mcs -r:System.Web,System.Web.Services TestWebService.cs WSAppProxy.cs
-out:testws.exe
and on my N770
d) tar xvzf mono-nokia.tgz (from http://www.go-mono.com/nokia/) to
/home/user
e) and copied files on /home/user/mono-nokia :
->testws.exe (my program)
->System.Web.dll, System.Web.Services.dll, System.EnterpriseServices.dll
(from my mono 1.1.13 I386 version
/usr/local/lib/mono/1.0)
And added the file: /usr/local/etc/mono/1.0/machine.config
f) And executed the program
#cd /home/user/mono-nokia
#. ./README
#./mono testws.exe
g) 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>
----------------------------------------------------------------------------
// TestWebService.cs :
using System;
namespace GtkWebService
{
public class TestWebService
{
public TestWebService (string[] args)
{
}
private void testWS ()
{
try
{
int firstNumber = 55;
int secondNumber = 66;
RemoteWebService ws = new
RemoteWebService ();
string res = ws.Add
(firstNumber,
secondNumber).ToString ();
}
catch (Exception ex)
{
System.Console.WriteLine("Erreur:"+ex);
}
}
public static void Main (string []args)
{
TestWebService app = new
TestWebService(args);
app.testWS();
}
}
}
----------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060115/a6289af7/attachment.html
More information about the Mono-devel-list
mailing list