[Mono-bugs] [Bug 462449] New: Webservice containing EntityRef returns Exception has been thrown by the target of an invocation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 24 12:54:36 EST 2008


           Summary: Webservice containing EntityRef returns Exception has
                    been thrown by the target of an invocation
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: kobruleht2 at hot.ee
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

To reproduce:

1. Create web service containing two files

1.1 Test.asmx:

<%@ WebService Language="C#" 
Class="Test" %>

1.2 Business.dll source file:

using System.Collections.Generic;
using System.Linq;
using System.Web.Services;
using System;
using System.ComponentModel;
using System.Diagnostics;

public class Test
    public List<Test> GetData()
        var l = new List<Test>();
        l.Add(new Test() { Toode = "sssss" });
        return l;
    public string Toode { get; set; }

    private System.Data.Linq.EntityRef<e2> ykSUs1;
    public e2 YKsUs1
            return ykSUs1.Entity;
            ykSUs1.Entity = value;

public class e2
    public string Yksus { get; set; }

2. Call this web service under mod_mono/Apache from Silverlight application.


1. Web service returns error:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope
has been thrown by the target of an

2. It is not possible to obtain stack trace of error.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list