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 = ""> }
[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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list