Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 18:37:14 +0300
From:      "Andrus" <kobruleht2@hot.ee>
To:        <freebsd-mono@freebsd.org>
Subject:   Invalid IL code  in (wrapper runtime-invoke) 
Message-ID:  <CDE80C896D294A25AF1B9560EAFBAC0E@andrusnotebook>

next in thread | raw e-mail | index | archive | help
In Mono 2.4. Calling ASMX web method

[WebMethod()]
 public string AddNew(ref UserCredentials header, string headerEntity,
                        List<FormField> headerFields, List<RidT> rowFields)
{ ...


Returns exception

 <soap:Body>
 <soap:Fault>
  <faultcode>soap:Server</faultcode>
 <faultstring>Invalid IL code in (wrapper runtime-invoke)
Service.StockService:runtime_invoke_string__this___UserCredentials&_string_List`1<FormField>_List`1<RidT>
(object,intptr,intptr,intptr): IL_002c: call 0x00000004</faultstring>
 </soap:Fault>
</soap:Body>
</soap:Envelope>

How to fix ?

Andrus.

FreeBSD mono.test.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Aug 28 
16:53:13 EEST 2008     dxxh@test.com:/usr/obj/usr/src/sys/ELK  amd64




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDE80C896D294A25AF1B9560EAFBAC0E>